You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
832B

  1. #!/bin/sh
  2. echo "Installing the EPEL repo"
  3. yum install epel-release
  4. echo "Updating system and packages list"
  5. yum upgrade
  6. yum update
  7. echo "Installing system dependancies"
  8. yum install man sudo R git libcurl libcurl-devel libxml2 libxml2-devel openssl openssl-devel postgresql postgresql91 postgresql-devel postgresql91-devel libcurl libcurl-devel
  9. echo "Installing R dependancies"
  10. echo "If this step fails, you might need to configure a proxy ? (http_proxy environment var)"
  11. R -e 'install.packages(c("tidyverse", "devtools"), repos = "https://cran.r-project.org")'
  12. echo "Installing R2b2 using devtools"
  13. echo "If this step fails, you might need to configure a proxy"
  14. echo "Alternatively, you can download a local copy and use devtools::install_local to install from file"
  15. R -e 'devtools::install_github("MaximeWack/R2b2")'