Open cansavvy opened 2 weeks ago
My solution for now is just to pull from GitHub instead.
In general we suggest using pak and in particular https://github.com/r-lib/actions on GitHub Actions to install R package dependencies, because they work much better.
Nevertheless, maybe we can fix this, do you think you can create a reproducible example? Of course a PR is also welcome. :)
Background
I have some bioconductor packages that are dependencies for an R package I'm working on. I tried following the documentation here: https://remotes.r-lib.org/articles/dependencies.html#other-sources
That says I should put in the
Remotes:
section something that looks like:This hasn't been panning out when I've tried to use this.
Error
When I have a github action for CI/CD purposes, I'm trying to query the dependencies if I run:
remotes::dev_package_deps(dependencies = TRUE)
This is resolved if I get rid of the bioc::3.15 bits and replace them with GitHub remotes.
Reprex
Here's two versions of my exact description file (note I had to add a
.txt prefix so GitHub would upload). If you put this in your current working directory and run
remotes::dev_package_deps(dependencies = TRUE)` you should see the difference.NOT working DESCRIPTION.txt which has:
I also tried playing around with the release numbers to make them release numbers that actually exist for Bioconductor e.g. 3.15 but this didn't make a difference. https://bioconductor.org/news/bioc_3_15_release/
Working DESCRIPTION.txt which has
There are some other issues I've been encountering with using the bioc::3.15/ type designation and I might file those issues separately unless there's already existing issues for them.
Session info
I should note I get this locally with this session info but also on Ubuntu and Windows builds using GitHub Actions.