Installing GO.db or org.Hs.eg.db fail with the error
ERROR: lazy loading failed for package 'GO.db'
This happens with
BiocManager::install("GO.db")
and when installing by hand.
install.packages("C:/Users/margo/AppData/Local/Temp/RtmpSe8bvM/downloaded_packages/GO.db_3.21.0.tar.gz", repos = NULL, type = "source")
Installing package into ?C:/Users/margo/AppData/Local/R/win-library/4.5?
(as ?lib? is unspecified)
* installing *source* package 'GO.db' ...
** this is package 'GO.db' version '3.21.0'
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
ERROR: lazy loading failed for package 'GO.db'
* removing 'C:/Users/margo/AppData/Local/R/win-library/4.5/GO.db'
Warning message:
In utils::install.packages("C:/Users/margo/AppData/Local/Temp/RtmpSe8bvM/downloaded_packages/GO.db_3.21.0.tar.gz", :
installation of package ?C:/Users/margo/AppData/Local/Temp/RtmpSe8bvM/downloaded_packages/GO.db_3.21.0.tar.gz? had non-zero exit status
Installing by hand allowed to catch one issue related to xml2 source installation.
sessionInfo()
R version 4.5.1 (2025-06-13 ucrt) Platform: x86_64-w64-mingw32/x64 Running under: Windows 11 x64 (build 26100) Matrix products: default ?LAPACK version 3.12.1 locale: [1] LC_COLLATE=English_Belgium.utf8 ?LC_CTYPE=English_Belgium.utf8 ? [3] LC_MONETARY=English_Belgium.utf8 LC_NUMERIC=C ? ? ? ? ? ? ? ? ? ? [5] LC_TIME=English_Belgium.utf8 ? ? time zone: Europe/Brussels tzcode source: internal attached base packages: [1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods ? base ? ? loaded via a namespace (and not attached): [1] BiocManager_1.30.26 compiler_4.5.1 ? ? ?fastmap_1.2.0 ? ? ? [4] cli_3.6.5 ? ? ? ? ? htmltools_0.5.8.1 ? tools_4.5.1 ? ? ? ? [7] rstudioapi_0.17.1 ? yaml_2.3.10 ? ? ? ? rmarkdown_2.30 ? ? [10] knitr_1.50 ? ? ? ? ?xfun_0.53 ? ? ? ? ? digest_0.6.37 ? ? ? [13] rlang_1.1.6 ? ? ? ? evaluate_1.0.5 ? ? Any idea? Thank you in advance, Laurent