-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test suite fails with lubridate 1.9.0, tz = "US/Pacific" ? #292
Comments
All my scripts that are based on |
Hi, we also got bit by this bug. For example, yearmonth() seems to be off by one month: > tsibble::yearmonth("2022m12")
<yearmonth[1]>
[1] "2022 Nov" |
I confirmed as @MichaelChirico wrote the problem seems related to lubridate 1.9.0. For example: > tsibble::yearmonth("2022m12")
<yearmonth[1]>
[1] "2022 Nov"
> sessionInfo()
R version 4.2.2 Patched (2022-11-10 r83330)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.5 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.9 lubridate_1.9.0 tsibble_1.1.3 fansi_1.0.3 assertthat_0.2.1 utf8_1.2.2 dplyr_1.0.10
[8] R6_2.5.1 DBI_1.1.3 lifecycle_1.0.3 magrittr_2.0.3 pillar_1.8.1 rlang_1.0.6 cli_3.4.1
[15] rstudioapi_0.14 vctrs_0.5.1 generics_0.1.3 ellipsis_0.3.2 tools_4.2.2 glue_1.6.2 anytime_0.3.9
[22] compiler_4.2.2 timechange_0.1.1 pkgconfig_2.0.3 tidyselect_1.2.0 tibble_3.1.8 but then after clearing my session and > tsibble::yearmonth("2022m12")
<yearmonth[1]>
[1] "2022 Dec"
> sessionInfo()
R version 4.2.2 Patched (2022-11-10 r83330)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.5 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.9 lubridate_1.8.0 tsibble_1.1.3 fansi_1.0.3 assertthat_0.2.1 utf8_1.2.2 dplyr_1.0.10
[8] R6_2.5.1 DBI_1.1.3 lifecycle_1.0.3 magrittr_2.0.3 pillar_1.8.1 rlang_1.0.6 cli_3.4.1
[15] rstudioapi_0.14 vctrs_0.5.1 generics_0.1.3 ellipsis_0.3.2 tools_4.2.2 glue_1.6.2 anytime_0.3.9
[22] compiler_4.2.2 pkgconfig_2.0.3 tidyselect_1.2.0 tibble_3.1.8 |
looks like it gets fixed in upstream packages vspinu/timechange#24 thanks for the help! |
Our test suites for
tsibble
(1.1.3 from CRAN) started failing when we tried updatinglubridate
to 1.9.0 (from 1.8.0). It might be an internal issue on our side, but I am able to get the tests to pass whenTZ=Etc/UTC
, but the tests fail whenTZ=US/Pacific
. Here are the failures:I guess #290 could be related
The text was updated successfully, but these errors were encountered: