Open
Description
Describe the bug, including details regarding any error messages, version, and platform.
I believe #46581 introduced a bug where if a developer does not have R installed on their system, the pre-commit check will fail with an exception like:
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('Rscript', '--vanilla', '/tmp/tmp6h7jqkbh/script.R')
return code: 1
stdout:
Executable `Rscript` not found
Component(s)
Developer Tools