pkgdepends icon indicating copy to clipboard operation
pkgdepends copied to clipboard

options(pkg.use_bioconductor = FALSE) and new_pkg_deps

Open tyner opened this issue 1 year ago • 1 comments
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?

tyner avatar Jun 13 '24 19:06 tyner

Seems like a bug indeed.

gaborcsardi avatar Jun 14 '24 10:06 gaborcsardi