Skip to content

Commit

Permalink
Merge pull request #2460 from lorenzwalthert/binary-additional-deps
Browse files Browse the repository at this point in the history
Enforce binary installs also for dependencies in R
  • Loading branch information
asottile committed Oct 22, 2022
2 parents 0239b27 + a568f3c commit 0fe7a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre_commit/languages/r.py
Expand Up @@ -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
Expand Down

0 comments on commit 0fe7a0b

Please sign in to comment.