r-lib / remotes

Install R packages from GitHub, GitLab, Bitbucket, git, svn repositories, URLs
https://remotes.r-lib.org/
Other
331 stars 152 forks source link

Feature request: support system_requirements() of CRAN dependencies of Bioconductor packages #660

Closed bersbersbers closed 10 months ago

bersbersbers commented 2 years ago
remotes::system_requirements("ubuntu-20.04", package = "ComplexHeatmap")

returns nothing. As a human, I can see that ComplexHeatmap (despite not being on CRAN) depends on the Cairo CRAN package, which has system requirements: https://bioconductor.org/packages/release/bioc/html/ComplexHeatmap.html

I wonder if system_requirements() could resolve CRAN dependencies of Bioconductor packages. (remotes::package_deps("ComplexHeatmap") returns nothing, either.)

bersbersbers commented 2 years ago

I think I had a completely wrong idea what system_requirements() does. I thought it would walk the dependencies tree and then submit a list of CRAN packages to the API. Instead, it seems to submit the DESCRIPTION file to the API and let the API walk to dependencies - so there is little chance to intercept CRAN dependencies of Bioconductor packages.

gaborcsardi commented 10 months ago

Take a look at pak, it does a better job at looking up system requirements of non-cran packages.