Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

options(pkg.use_bioconductor = FALSE) and new_pkg_deps #369

Open
tyner opened this issue Jun 13, 2024 · 1 comment
Open

options(pkg.use_bioconductor = FALSE) and new_pkg_deps #369

tyner opened this issue Jun 13, 2024 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@tyner
Copy link

tyner commented Jun 13, 2024

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?

@gaborcsardi
Copy link
Member

Seems like a bug indeed.

@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants