Provide the type explicitly for all subcalls
Closed this issue · 0 comments
Enchufa2 commented
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")
.