Skip to content
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

yearmonth() throws an error with C_force_tz #312

Open
Mkranj opened this issue Jun 21, 2024 · 0 comments
Open

yearmonth() throws an error with C_force_tz #312

Mkranj opened this issue Jun 21, 2024 · 0 comments

Comments

@Mkranj
Copy link

Mkranj commented Jun 21, 2024

I'm analysing some timeseries, but I cannot use the yearmonth() function. Running the following code:

yearmonth("2018 January")

I get this error message: Error in C_force_tz(utc, tz, c("boundary", "post")) : CCTZ: Unrecognized output timezone: "Europe/Zagreb".

Reading through similar issues, I can confirm that using lubridate:::tzdir_get() returns a folder that exists, "C:/PROGRA~1/R/R-43~1.3/share/zoneinfo" . I've used tzdir_set to explicitly set the full path, and still no use. Changing locale setting to en_US.utf8 still results in the same error.

I've also opened this as an issue in lubridate here.

I'm using lubridate 1.9.3, tsibble 1.1.4 and R 4.3.3. on Windows 11. How can I fix these problems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant