-
Notifications
You must be signed in to change notification settings - Fork 152
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
install_deps uses wrong Bioc version #380
Comments
This is a common misconception of what the purpose of the |
Hmm, I stumbled upon this because If I don't put the Bioconductor packages in Is that something I should report to travis? Or can you hint me at what's the proper way of doing it? |
You need to add a |
ok, that seems to work nicely for a package that only contains CRAN and Bioc dependencies (and no I have a package that depends on both github and Bioc packages. As soon as I add a |
The issue is actually not in your package. It seems to be that xCell does not have BiocViews, despite depending on Bioconductor packages https://github.com/dviraran/xCell/blob/fe6d5e6b02993315270ecd808b3eb1af3af30261/DESCRIPTION#L27-L28 |
I see now. Thanks a lot for your help! |
This is required for packages like `devtools` or `remotes` to properly download bioconductor packages. See discussion in r-lib/remotes#380 (comment) and the documentation here: https://bioconductor.org/developers/how-to/biocViews/
When using
install_deps(dependencies = TRUE)
on a package with Bioconductor dependencies in an older R version (e.g. 3.5.1), the installation fails as remotes seems to try to install packages from the most recent Bioconductor release which is incompatible with R 3.5.1.Expected behavior
remotes
always uses the most recent Bioconductor release that is compatible with the current version of R (in the case of 3.5.1, Bioc v3.7)Steps to reproduce
Setup R 3.5.1
create empty package:
Append the following lines to DESCRIPTION
Run the installation in the conda environment:
The text was updated successfully, but these errors were encountered: