mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Merge pull request #2460 from lorenzwalthert/binary-additional-deps
Enforce binary installs also for dependencies in R
This commit is contained in:
commit
0fe7a0baa6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue