Every time I try to install Org.Hs.eg.db, i get this error- ERROR: lazy loading failed for package 'org.Hs.eg.db' and I'm not sure what to do about it. Does anyone have any advice?
> library(BiocManager)
Bioconductor version 3.20
(BiocManager 1.30.25), R 4.4.1
(2024-06-14 ucrt)
Warning message:
package 'BiocManager' was built under R version 4.4.2
> install("org.Hs.eg.db", force = TRUE)'getOption("repos")' replaces
Bioconductor standard repositories,
see 'help("repositories", package =
"BiocManager")'for details.
Replacement repositories:
CRAN: https://cran.rstudio.org
Bioconductor version 3.20
(BiocManager 1.30.25), R 4.4.1
(2024-06-14 ucrt)
Installing package(s)'org.Hs.eg.db'
installing the source package 'org.Hs.eg.db'
trying URL 'https://bioconductor.org/packages/3.20/data/annotation/src/contrib/org.Hs.eg.db_3.20.0.tar.gz'
Content type 'application/x-gzip' length 98233708 bytes (93.7 MB)
downloaded 93.7 MB
* installing *source* package 'org.Hs.eg.db'...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Warning message:
package 'IRanges' was built under R version 4.4.2
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Warning: package 'IRanges' was built under R version 4.4.2
** testing if installed package can be loaded from final location
Warning: package 'IRanges' was built under R version 4.4.2
** testing if installed package keeps a record of temporary installation path
* DONE (org.Hs.eg.db)
The downloaded source packages are in'C:\Users\jmacdon\AppData\Local\Temp\Rtmp67HIvp\downloaded_packages'
You might have something that gets loaded into the .GlobalEnv that is affecting things, so you could start R with the --vanilla flag for a clean environment and then try installing.