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").
When the
pkgType
option is set to anything different from"source"
, we really need to provide an explicittype
for all subcalls, so that they won't error. Currently,tools::package_dependencies
fail foroptions(pkgType="binary-source")
when a requested package is not available as a binary, which is the whole point of"binary-source"
. It works withinstall.packages(..., type="binary-source")
though because no subcall takes that value fromgetOption("pkgType")
.