cran4linux / bspm

R Bridge to System Package Manager
https://cran4linux.github.io/bspm
Other
80 stars 4 forks source link

Provide the type explicitly for all subcalls #56

Closed Enchufa2 closed 1 year ago

Enchufa2 commented 1 year ago

When the pkgType option is set to anything different from "source", we really need to provide an explicit type for all subcalls, so that they won't error. Currently, tools::package_dependencies fail for options(pkgType="binary-source") when a requested package is not available as a binary, which is the whole point of "binary-source". It works with install.packages(..., type="binary-source") though because no subcall takes that value from getOption("pkgType").