enforce binary installs also for dependencies of R packages

Similar problem seems to be found in https://github.com/r-lib/devtools/issues/1724
This commit is contained in:
Lorenz Walthert
2022-07-12 22:47:19 +01:00
parent 7c14405f8b
commit a568f3c818

View File

@@ -158,7 +158,7 @@ def _inline_r_setup(code: str) -> str:
only be configured via R options once R has started. These are set here.
"""
with_option = f"""\
options(install.packages.compile.from.source = "never")
options(install.packages.compile.from.source = "never", pkgType = "binary")
{code}
"""
return with_option