mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-27 00:21:01 -05:00
c4c1ebb101
* Allow dispatch workflow
* Disable LUA
* Move R installation and cleanup
* Revert "Disable LUA"
This reverts commit d347897d77
.
* Move cleaning step
9 lines
329 B
Bash
Executable file
9 lines
329 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
mkdir -p /home/r-library
|
|
cp -r /usr/lib/R/library/ /home/r-library/
|
|
Rscript -e "install.packages(c('lintr','purrr'), repos = 'https://cloud.r-project.org/')"
|
|
R -e "install.packages(list.dirs('/home/r-library',recursive = FALSE), repos = NULL, type = 'source')"
|
|
mv /etc/R/* /usr/lib/R/etc/
|