pkgdepends
pkgdepends copied to clipboard
options(pkg.use_bioconductor = FALSE) and new_pkg_deps
trafficstars
The help page for current_config says:
* Global options, set via ‘options()’. The name of the global
option is the ‘pkg.’ prefix plus the name of the pkgdepends
configuration entry. E.g. ‘pkg.platforms’.
which led me to believe that I could set
options(pkg.use_bioconductor = FALSE)
and indeed current_config() now says
## use_bioconductor
<option>
[1] FALSE
however when I run
pd <- new_pkg_deps("rvg")
it says
Error in download.file(url, tmp, quiet = TRUE) :
cannot open URL 'http://bioconductor.org/config.yaml'
which makes me think the setting of pkg.use_bioconductor to FALSE is not being honored. Am I missing something?
Seems like a bug indeed.