-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repos argument not kept #51
Comments
Thanks for the report. Could you please try the fix in the |
This is with @eddelbuettel's > install.packages("BSgenome", repos = BiocManager::repositories())
'getOption("repos")' replaces Bioconductor standard repositories, see
'?repositories' for details
replacement repositories:
CRAN: https://cloud.r-project.org
Available system packages as root...
There are binary versions available but the source versions are later:
binary source
BSgenome 1.66.1 1.66.2
GenomeInfoDb 1.34.4 1.34.6
GenomicRanges 1.50.1 1.50.2
GenomeInfoDbData 1.2.8 1.2.9
BiocParallel 1.32.4 1.32.5
Do you want to install later versions from sources? (Yes/no/cancel) |
If no further issues, I'll merge #52 and roll a patch release to CRAN. |
Thanks for the quick fix @Enchufa2 I'm not sure why I get a different version of BSgenome under the There are binary versions available but the source versions are later:
binary source
BSgenome 1.62.0 1.66.2 With the container (using Note. For binary generation, it would be best to use the packages that are restricted and defined by |
What's your OS version and what repo are you using for the binaries? That's probably the difference. |
I am using: $ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy > dbb <- bspm::available_sys()
> dbb[rownames(dbb) == "bsgenome", ]
Package Version Repository
"bsgenome" "1.62.0" "Ubuntu" > packageVersion("bspm")
[1] '0.4.0.1' I guess I'm using these repos in:
|
The repo is the difference then. The docker image above uses r2u instead. |
I am using
BiocManager
for managing the installation of packages.I would like to make use of both
bspm
forCRAN
packages andBiocManager
for Bioconductor packages.It seems that
bspm::enable()
shim does not keep the input'srepos
argument, seen athttps://github.com/Enchufa2/bspm/blob/5d9f5f1b786807efa7c249dd81ddedd18579b33d/R/integration.R#L53
leading to the error below.
The text was updated successfully, but these errors were encountered: