This is a test version of Biostars. For the public version, visit https://www.biostars.org.
warning when installing "AnnotationDbi"

When I try to install "org.Hs.eg.db", a warning appeared.

However, the "AnnotationDbi" and "DBI" have been installed and loaded into the R

Error: package 'AnnotationDbi' required by 'org.Hs.eg.db' could not be found
Execution halted
ERROR: lazy loading failed for package 'org.Hs.eg.db'
* removing 'C:/Users/doly/AppData/Local/R/win-library/4.2/org.Hs.eg.db'
Warning in install.packages :
安装程序包‘D:/RMANNU~1/org.Hs.eg.db_3.16.0.tar.gz’时退出狀態的值不是0

enter image description here

My R information are the following:

R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)

I have no idea to solve this problem.

annotationdbi

I tried to used BiocManager::install to solve the problem, but it failed. However the problem has been solved, the warning appeared because I change the default download pathway of packages. Before installing "org.Hs.eg.db", "AnnotationDbi" should be installed at the target download directory of "org.Hs.eg.db". Else the "org.Hs.eg.db" could not find "AnnotationDbi". Sorry for my carelessness.

0 answers

No answers yet.

Log in to answer this question.