Closed steffilazerte closed 1 year ago
No, it's not... hmm, can you updated all your packages and try again? If you still have the error, could you share the code you're trying to run? Thanks!
All libraries are up to date.
R version 4.2.3 (2023-03-15 ucrt) -- "Shortstop Beagle" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
library(weathercan) weathercan v0.6.3 The internal
stations
data has been deprecated in favour of the functionstations()
. See ?stations for more details. Warning message: package ‘weathercan’ was built under R version 4.3.0stations_dl()
stations_dl() According to Environment Canada, Modified Date: 2023-01-24 23:30 UTC
Environment Canada Disclaimers: "Station Inventory Disclaimer: Please note that this inventory list is a snapshot of stations on our website as of the modified date, and may be subject to change without notice." "Station ID Disclaimer: Station IDs are an internal index numbering system and may be subject to change without notice." Stations data saved...
Usestations()
to access most recent version andstations_meta()
to see when this was last updated Warning message: There were 20 warnings indplyr::mutate()
. The first warning was: ℹ In argument:tz = purrr::map_chr(.data$tz, ~tz_offset(.x))
. Caused by warning instrptime()
: ! unknown timezone 'NA' ℹ Run dplyr::last_dplyr_warnings() to see the 19 remaining warnings.
Thanks I'll take a look and see what's up.
Hi @wgieni this should have been dealt with in the last update, I'll close this issue soon unless you're still getting problems. Thanks!
Is this related to the warnings I get when running the stations()?
Warning message: There were 20 warnings in
dplyr::mutate()
. The first warning was: ℹ In argument:tz = purrr::map_chr(.data$tz, ~tz_offset(.x))
. Caused by warning instrptime()
: ! unknown timezone 'NA' ℹ Run dplyr::last_dplyr_warnings() to see the 19 remaining warnings.[[2]] <warning/rlang_warning> Warning in
dplyr::mutate()
: ℹ In argument:tz = purrr::map_chr(.data$tz, ~tz_offset(.x))
. Caused by warning inas.POSIXct.POSIXlt()
: ! unknown timezone 'NA'Backtrace: ▆
[[3]] <warning/rlang_warning> Warning in
dplyr::mutate()
: ℹ In argument:tz = purrr::map_chr(.data$tz, ~tz_offset(.x))
. Caused by warning instrptime()
: ! unknown timezone 'NA'Backtrace: ▆
[[4]] <warning/rlang_warning> Warning in
dplyr::mutate()
: ℹ In argument:tz = purrr::map_chr(.data$tz, ~tz_offset(.x))
. Caused by warning inas.POSIXct.POSIXlt()
: ! unknown timezone 'NA'Backtrace: ▆
[[5]] <warning/rlang_warning> Warning in
dplyr::mutate()
: ℹ In argument:tz = purrr::map_chr(.data$tz, ~tz_offset(.x))
. Caused by warning instrptime()
: ! unknown timezone 'NA'Backtrace: ▆
... with 15 more warnings. ℹ Run dplyr::last_dplyr_warnings(n = 10) to show more.