Skip to content
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 via devtools::install_github([...]) tries to install dependencies from outdated Bioconductor v3.18 #36

Open
ymahlich opened this issue Jan 7, 2025 · 0 comments

Comments

@ymahlich
Copy link
Collaborator

ymahlich commented Jan 7, 2025

A fresh install of spammR via

library(devtools)
devtools::install_github('pnnl-compbio/spammR',build_vignettes = TRUE,force=TRUE)

tries to install dependencies from Bioconductor 3.18 instead of 3.20 (the current version) even if an up to date BiocManager is installed. This potentially results in multiple dependencies failing to install if packages aren't available for the processor architecture. Example warnings:

Warning: unable to access index for repository https://bioconductor.org/packages/3.18/bioc/bin/macosx/big-sur-arm64/contrib/4.4:
  cannot open URL 'https://bioconductor.org/packages/3.18/bioc/bin/macosx/big-sur-arm64/contrib/4.4/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.18/data/annotation/bin/macosx/big-sur-arm64/contrib/4.4:
  cannot open URL 'https://bioconductor.org/packages/3.18/data/annotation/bin/macosx/big-sur-arm64/contrib/4.4/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.18/data/experiment/bin/macosx/big-sur-arm64/contrib/4.4:
  cannot open URL 'https://bioconductor.org/packages/3.18/data/experiment/bin/macosx/big-sur-arm64/contrib/4.4/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.18/workflows/bin/macosx/big-sur-arm64/contrib/4.4:
  cannot open URL 'https://bioconductor.org/packages/3.18/workflows/bin/macosx/big-sur-arm64/contrib/4.4/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.18/books/bin/macosx/big-sur-arm64/contrib/4.4:
  cannot open URL 'https://bioconductor.org/packages/3.18/books/bin/macosx/big-sur-arm64/contrib/4.4/PACKAGES'
Packages which are only available in source form, and may need compilation of C/C++/Fortran: ‘zlibbioc’ ‘XVector’
  ‘SparseArray’ ‘DelayedArray’ ‘S4Arrays’ ‘IRanges’ ‘S4Vectors’ ‘GenomicRanges’ ‘impute’ ‘limma’

After manual install of the listed libraries via a manual call of BiocManager::install() (which pulls from the up-to-date repositories) spammR installs properly (assuming leapR is installed prior and BiocStyle has been installed as well - see also issue #35 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant