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

New RStudio image missing tzdata #13

Open
RobertJCarroll opened this issue May 21, 2020 · 5 comments
Open

New RStudio image missing tzdata #13

RobertJCarroll opened this issue May 21, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@RobertJCarroll
Copy link

I was using the new RStudio image (0.0.3) and readr wasn't working- I was getting:

no Olson database found

Looks like the underlying image may not have tzdata installed, which means readr gets confused.

@rtitle
Copy link
Collaborator

rtitle commented May 21, 2020

Thanks for reporting @RobertJCarroll, we can take a look.

cc @nturaga as well

@nturaga nturaga self-assigned this May 28, 2020
@nturaga
Copy link
Collaborator

nturaga commented May 28, 2020

readr works fine with the us.gcr.io/anvil-gcr-public/anvil-rstudio-bioconductor:0.0.5. Can you try that and let me know if you still have the issue?

And i'm unable to reproduce this issue with us.gcr.io/anvil-gcr-public/anvil-rstudio-base:0.0.3 as well.

@nturaga nturaga added the bug Something isn't working label May 28, 2020
@RobertJCarroll
Copy link
Author

I just spun up a new runtime with us.gcr.io/anvil-gcr-public/anvil-rstudio-base:0.0.3 and I am still getting this when I attempt to use readr::read_csv()

Error: Unknown TZ UTC
In addition: Warning message:
In OlsonNames() : no Olson database found
I made a very simple csv:
a,b
2020-05-01 12:00:00, asdf

It worked with us.gcr.io/anvil-gcr-public/anvil-rstudio-bioconductor:0.0.5.

I started up another on the rstudio base and it failed again.

@nturaga
Copy link
Collaborator

nturaga commented May 28, 2020

It doesn't have the system dependency tzdata. That is the error, but the base image is supposed to be stripped down and light. I suggest you use the anvil-rstudio-bioconductor:0.0.5 image.

Is there any specific reason you want to use the base image?

@RobertJCarroll
Copy link
Author

Ok, thanks. I can use the bioconductor moving forward

Re the image type, base:0.0.2 was what I saw recommended originally for RStudio in Terra, and it worked well. I swapped to the more recent version when I saw it was available. More generally, I don't need bioconductor. R + tidyverse gets most of what I need to use, so it seemed fitting, but if readr won't work due to missing system dependencies, I can go to something heavier weight.

I appreciate the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants