Running RStudio 1.2.5033, R 3.6.1, and readr 1.3.1.
Previously was having no issues reading in a CSV file yesterday, software was updated to what you see above and now getting
Error: Unknown TZ UTC
when I try to read in anything with
table.df <- read_csv('csv_file.csv')
I found this post and have explored locale as a chunk/file/global option (specific and default) without success. I am from the USA and have tried every time zone they list in the help. Even tried
options(readr.default_locale=readr::locale(tz="Australia/Sydney"))
and I get
Error: Unknown TZ Australia/Sydney
I don't manage this instance as it's running on a remote cluster and sysadmin kicked me off today to update a number of softwares including R. I've run all package updates. Sysadmin is smart and doesn't tinker with too much and I haven't changed any global settings so I'm not sure what this might be. Hoping I'm an idiot and I'm just missing an easy fix.
I spun up a local version of this problem and figured out the base R version referenced by RStudio (3.6.1) and the newly installed one (3.6.3) were not the same. I saw R was installed, but there was no indication it wasn't linked up. If anyone ends up on this post and has this issue in the future, you simply need to open the new version of base R (which I don't think I've intentionally done in the past) and it will be referenced properly.