Can not install Biostrings in R
1
0
Entering edit mode
lulucode • 0
@571acbee
Last seen 2.1 years ago
Germany

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'

Bioconductor • 3.2k views
ADD COMMENT
0
Entering edit mode

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.

ADD REPLY
1
Entering edit mode
shepherl 3.8k
@lshep
Last seen 8 hours ago
United States

The warning is indicating you already installed the most recent version of Biostrings. You should be able to do library('Biostrings') ?

ADD COMMENT

Login before adding your answer.

Traffic: 687 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