Files
runner-images/images/linux/scripts/installers/r.sh
T

18 lines
544 B
Bash
Raw Normal View History

2020-10-07 13:49:40 +05:00
#!/bin/bash -e
2020-07-21 11:18:11 +03:00
# Source the helpers for use with the script
2020-07-31 14:31:00 +03:00
source $HELPER_SCRIPTS/os.sh
2020-07-21 11:18:11 +03:00
# install R
2020-07-31 14:31:00 +03:00
osLabel=$(getOSVersionLabel)
wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | gpg --dearmor > /usr/share/keyrings/rlang.gpg
echo "deb [signed-by=/usr/share/keyrings/rlang.gpg] https://cloud.r-project.org/bin/linux/ubuntu $osLabel-cran40/" > /etc/apt/sources.list.d/rlang.list
2020-07-31 14:31:00 +03:00
apt-get update
apt-get install r-base
rm /etc/apt/sources.list.d/rlang.list
rm /usr/share/keyrings/rlang.gpg
2020-12-29 10:02:46 +03:00
invoke_tests "Tools" "R"