-
Notifications
You must be signed in to change notification settings - Fork 0
/
prepare.sh
29 lines (15 loc) · 832 Bytes
/
prepare.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
echo "Installing the EPEL repo"
yum install epel-release
echo "Updating system and packages list"
yum upgrade
yum update
echo "Installing system dependancies"
yum install man sudo R git libcurl libcurl-devel libxml2 libxml2-devel openssl openssl-devel postgresql postgresql91 postgresql-devel postgresql91-devel libcurl libcurl-devel
echo "Installing R dependancies"
echo "If this step fails, you might need to configure a proxy ? (http_proxy environment var)"
R -e 'install.packages(c("tidyverse", "devtools"), repos = "https://cran.r-project.org")'
echo "Installing R2b2 using devtools"
echo "If this step fails, you might need to configure a proxy"
echo "Alternatively, you can download a local copy and use devtools::install_local to install from file"
R -e 'devtools::install_github("MaximeWack/R2b2")'