Skip to content

Commit

Permalink
Closes #2300
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-m-sullivan committed Mar 23, 2022
1 parent 354b900 commit 267f5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre_commit/languages/r.py
Expand Up @@ -59,7 +59,7 @@ def _prefix_if_non_local_file_entry(


def _rscript_exec() -> str:
return os.path.join(os.getenv('R_HOME', ''), 'Rscript')
return os.path.join(os.getenv('R_HOME', ''), 'bin', 'Rscript')


def _entry_validate(entry: Sequence[str]) -> None:
Expand Down

0 comments on commit 267f5f4

Please sign in to comment.