superlint/scripts/install-lintr.sh
Marco Ferrari 60983d395f
fix: fail if r package installation fails (#4994)
- Fail if the installation of a R package fails.
- Install the remotes package once during the image build, and not when we scan
  files at runtime.
- Reuse the default R library directory instead of moving it to /home/r-library
2023-12-21 20:52:57 +01:00

5 lines
107 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
Rscript --no-save /install-r-package-or-fail.R lintr purrr remotes