Hi there,
I have been trying to install a Bioconductor package ("dada2") in this project which I had no problem installing in a previous Rstudio.cloud project that was running in R3.6. The first round of error messages came from not being able to install the dependency "ShortRead" also from Bioconductor which I overcame by installing a tarball directly.
The second problem came with the failed update of 4 CRAN packages, MASS, mgcv, nlme and survival. The full error message was:
ERROR: lazy loading failed for package ‘dada2’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/dada2’
The downloaded source packages are in
‘/tmp/RtmpdIx6oE/downloaded_packages’
Installation path not writeable, unable to update packages:
MASS, mgcv, nlme, survival
I installed manually those packages and tried again with the flag update = F
so I tried with
BiocManager::install("dada2", version = "3.11", update = F)
devtools::install_github("benjjneb/dada2")
Also with the tarball
In all cases the error is
installing to /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-dada2-1.16/00new/dada2/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Killed
ERROR: lazy loading failed for package ‘dada2’
Any suggestions on how to proceed?