-
Notifications
You must be signed in to change notification settings - Fork 57
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
R 4.2.0 + distill? Error: CCTZ: Unrecognized output timezone #457
Comments
🤔 I am using Windows 10 too and I don't have any issues. Possibly related to tidyverse/lubridate#1041 Can you run this to see if it errors ? lubridate:::tzdir_get()
lubridate::mdy("05/11/2022", tz ="America/New_York")
lubridate::force_tz(
time = lubridate::ymd_hms("2020-01-01 01:00:00 UTC"),
tzone = "America/New_York"
) It seems like it fixes itself for the issue linked. did you restart your computer between R 4.2 install and having this issue ? |
Thank you for finding that issue, @cderv! And yes, I have restarted both my computer and R several times, but always good to check! Well this is... something. When I submit to console, I am getting the same errors as shown in the issue. And then when I reprexed.... no error?? I also executed Do you know what my next steps are? Or should I follow up on the lubridate issue instead? I am on lubridate 1.8.0. |
As you have issue in R console with lubridate in your new installation, I would probably report with them. Not sure why this does not work for you. I have the same dir > lubridate:::tzdir_get()
[1] "C:/PROGRA~1/R/R-42~1.0/share/zoneinfo"
Reprex is executing by default in a new session. Can you try outside of your distill project just in case ? in a fresh R session ? You can also check using callr callr::r(function() lubridate::mdy("05/11/2022", tz ="America/New_York")) but it may inherits some configuration from you R environment. |
Thank you, @cderv! I have added to the lubridate issue. |
The issue is reolved - thank you everyone. |
This issue is definitely showing how important session information really. Thank you for sharing this : I'll definitely remember this and check that in the future! |
I recently updated to R 4.2.0 on my Windows 10 OS, and it was a bit of a bumpy installation with some edges to smooth out.
I created a new branch in my distill site and initialized a new draft post, which you can see here:
shannonpileggi/pipinghotdata_distill#30
Then I went to Build -> Build Website and I get the error:
and I think I vaguely recall seeing some trouble with timezones earlier in the 4.2.0 installation.
Is this a me thing? Is this a distill thing? I'm generally unsure of whether to ask this on RStudio Community or in an issue as I suspect it could be due to a bug, but I am not confident. Any advice would be much appreciated. Thank you.
The text was updated successfully, but these errors were encountered: