Hi @schuemie , @lychenus13 , @Chungsoo_Kim, can I revive this topic? I’m encountering the same issue as @lychenus13 had, with the error:
- installing source package ‘ParallelLogger’ …
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in file(filename, “r”, encoding = encoding) :
cannot open the connection
Calls: source → file
In addition: Warning message:
In file(filename, “r”, encoding = encoding) :
cannot open file ‘renv/activate.R’: No such file or directory
Execution halted
The package doesn’t matter but WHERE the package lives does matter. Packages on CRAN install fine but packages for which I need to run 'remotes::install_github(…) fail with the above error message.
I noticed that, even when I open a plain RStudio session (outside of an R project), the console reports the following:
- Project ‘~’ loaded. [renv 0.15.5]
[Workspace loaded from ~/.RData]
I’ve executed ‘renv::deactivate()’ but, like mentioned, doesn’t resolve the error. I’ve checked to make sure the packages are being downloading into their respective local and renv C drive directories for when I’m not in an R environment and when I am in an R environment, respectively. That also is fine.
Any help on this matter from what has been learned since the original posting will be greatly appreciated. Thanks, all.