Hi,
I'm trying to install Biostrings in R. But it is not successfully. Can someone help to fix it? Thanks a lot!
Here's the error:
if (!require("BiocManager", quietly = TRUE))
+ install.packages("BiocManager")
Bioconductor version 3.14 (BiocManager 1.30.16), R 4.1.2 (2021-11-01)
>
> BiocManager::install("Biostrings")
Bioconductor version 3.14 (BiocManager 1.30.16), R 4.1.2 (2021-11-01)
Warning message:
package(s) not installed when version(s) same as current; use `force = TRUE` to re-install: 'Biostrings'
I also tried the devtools, also showed error: devtools::install_github("Bioconductor/BiocManager", ref="ghost-binary-repo") Downloading GitHub repo Bioconductor/BiocManager@ghost-binary-repo Error in utils::download.file(url, path, method = method, quiet = quiet, : cannot open URL 'https://api.github.com/repos/Bioconductor/BiocManager/tarball/ghost-binary-repo'
I am not sure where you are getting the "ghost-binary-repo" ref. That is not a branch in
Bioconductor/BiocManager
.BiocManager will prevent you from re-installing a package that has the same version (i.e., hasn't been updated). That is why you see that warning.