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’
Did you install
GO.db
?BiocManager::install("GO.db")