Cannot install packages in R/BiocManager_Warning message: package(s) not installed when version(s) same as or greater than current; use `force = TRUE` to re-install: 'ChIPseeker'
1
0
Entering edit mode
ASIF • 0
@2d671262
Last seen 24 months ago
United Arab Emirates

I cannot install packages (ChIPseeker) in R/BiocManager This is the warning message: package(s) not installed when version(s) same as or greater than current; use force = TRUE to re-install: 'ChIPseeker'. Here is the code and error I get:

> BiocManager::install("ChIPseeker")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories'
for details

replacement repositories:
    CRAN: https://cran.rstudio.com/

Bioconductor version 3.16 (BiocManager 1.30.19), R 4.2.2 (2022-10-31)
Warning message:
package(s) not installed when version(s) same as or greater than current; use `force =
  TRUE` to re-install: 'ChIPseeker'

Then I did as follows:

> BiocManager::install("ChIPseeker", force = TRUE)
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories'
for details

replacement repositories:
    CRAN: https://cran.rstudio.com/

Bioconductor version 3.16 (BiocManager 1.30.19), R 4.2.2 (2022-10-31)
Installing package(s) 'ChIPseeker'
trying URL 'https://bioconductor.org/packages/3.16/bioc/bin/macosx/contrib/4.2/ChIPseeker_1.34.1.tgz'
Content type 'application/x-gzip' length 7045980 bytes (6.7 MB)
==================================================
downloaded 6.7 MB


The downloaded binary packages are in
    /var/folders/nj/k2k9s_x133l5jsc5x9j5t0km0000gn/T//RtmpZCVBrc/downloaded_packages

When I try to load the library(ChIPseeker), I get following error:

> library(ChIPseeker)
Error: package or namespace load failed for ‘ChIPseeker’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘GO.db’



# library(ChIPseeker) 
# Error: package or namespace load failed for ‘ChIPseeker’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘GO.db’
Bioconductor BioCManager ChIPseeker • 5.0k views
ADD COMMENT
0
Entering edit mode

Did you install GO.db ? BiocManager::install("GO.db")

ADD REPLY
0
Entering edit mode
@marcel-ramos-7325
Last seen 4 weeks ago
United States

Please avoid cross posting and see the response here: https://github.com/Bioconductor/BiocManager/issues/148

It seems like GO.db is missing even though it is a distant dependency of ChIPseeker.

Make sure you are not installing packages via other methods other than BiocManager, e.g., conda which may cause these type of issues.

Best regards,

Marcel

ADD COMMENT

Login before adding your answer.

Traffic: 394 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6