Closed stela2502 closed 1 month ago
What I would really appreciate would be a more informative error message - or even better - why not install these packages from the right source?
We cannot control the error message that R displays when it fails to find a dependency, unfortunately
These issues come up because we have dependencies that are on Bioconductor rather than on CRAN. By default, R will only check on CRAN.
You can change this default behaviour so that R looks on Bioconductor by running setRepositories(ind=1:3)
. This is documented on the install page for Signac.
When I install this package onto a new R installation I get a Bioconductor related error:
remotes::install_github("stuart-lab/signac") Installing 8 packages: RcppRoll, fastmatch, BiocGenerics, S4Vectors, Rsamtools, IRanges, GenomicRanges, GenomeInfoDb Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning messages: 1: packages ‘BiocGenerics’, ‘S4Vectors’, ‘Rsamtools’, ‘IRanges’, ‘GenomicRanges’, ‘GenomeInfoDb’ are not available for this version of R
Versions of these packages for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages 2: In i.p(...) : installation of package ‘/tmp/RtmpbmadcL/file249f007fc77b32/Signac_1.14.0.tar.gz’ had non-zero exit status
What I would really appreciate would be a more informative error message - or even better - why not install these packages from the right source?
You can easily replicate this problem using this Apptainer definition file:
I hope this can be addressed.