This is for R Studio Server, as a Docker image. One moment, it was working. Now, it's no longer working.
> library(tidyverse)
Error: package or namespace load failed for \u2018tidyverse\u2019:
.onLoad failed in loadNamespace() for 'fansi', details:
call: options()
error: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'NULL'
I narrowed it to the above point when I was trying to run the following (and many other libraries):
suppressPackageStartupMessages(require(tidyverse))
#ERROR R.getOption: rstudio.errors.suppressed made from non-main thread; LOGGED FROM: SEXPREC* rstudio::r::options::getOption(const string&) src/cpp/r/ROptions.cpp:83
And there is a 1 GB core
file in the repository. What is happening?
Addendum: also problem with read_csv()
ERROR R.getOption: rstudio.errors.suppressed made from non-main thread; LOGGED FROM: SEXPREC* rstudio::r::options::getOption(const string&) src/cpp/r/ROptions.cpp:83
Error in stopifnot(is.list(col_types)) :
anyNA() applied to non-(list or vector) of type 'closure'
ERROR evaluateExpression called from thread other than main; LOGGED FROM: rstudio::core::Error rstudio::r::exec::{anonymous}::evaluateExpressionsUnsafe(SEXP, SEXP, SEXPREC**, rstudio::r::sexp::Protect*, rstudio::r::exec::{anonymous}::EvalType) src/cpp/r/RExec.cpp:140
Tried restarting, no luck
Never seen any problem remotely close to this