-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
timezone warning message #113
Comments
I can't replicate this on my Ubuntu machine with 0.9-7 from CRAN, 0.9.874 from the master branch, or 0.9-8 from the develop branch. I can try on a Windows machine tomorrow. Can you try with the head of the develop branch to see if it's still an issue there? |
I installed xts from the develop branch, but I still got the same warning. I also upgraded R to version 3.2.2, and got the same warning as before. My current setup is:
Maybe it's just time for me to switch from Windoze to Linux, finally. |
I can replicate this on my Windows machine. It looks like there might have been changes in R-3.0.3 and/or R-3.1.0. I'll install those and investigate.
The relevant change was in R-3.1.0. Prior to that, Sys.setenv(TZ=Sys.timezone()) |
@algoquant did you close this because it's no longer an issue? |
@joshuaulrich I recently got this Warning on MacOS x86_64-apple-darwin17.0 with R version 4.1.1. Before that I got it on Windows. But your suggestion to run: Sys.setenv(TZ=Sys.timezone()) fixes it, so that's why I closed the issue. I can reopen it if you think it's worth pursuing. |
Thanks for the quick reply! I just had an idea: On the first warning of the session, I could add to the message something like |
This warning can be annoying, and it's not clear how to disable it. Add a message, once per session, to tell the user how to disable the warning. See #113.
I'm getting a strange timezone warning message for an xts that does have the correct timezone:
But when I set the timezone to NULL, then there's no warning:
I realize that I can suppress the warning by setting:
But I would prefer to understand the problem better instead of sweeping it under the rug, in case it may have some consequences.
Here's my setup:
The text was updated successfully, but these errors were encountered: