Skip to content

conflict with new vroom in weather_dl fucntion #206

@Quan-Cui

Description

@Quan-Cui

Try run:
x <- weather_dl(2686, interval = "day", string_as = NULL)

Got error
Error in vroom::vroom():
! n_max must be a number, not a numeric NA.
Run rlang::last_trace() to see where the error occurred.

weather_dl function used an i https://github.com/ropensci/weathercan/blob/main/R/weather.R#L900
which will be used later in readr::read_tsv https://github.com/ropensci/weathercan/blob/main/R/weather.R#L909

This function readr::read_tsv used vroom::vroom(), which is recently updated with a new format about n_max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions