#------------fix_dependency.sh--------------------
!! the script is currently broken !!
!!! Need Ubuntu LTS tested on 20.04 LTS !!!
To use it, you need to install r-base and add r-cran repo first.
You shoud follow the offical install guide first, and only run the script if the suggested install has failed.
After using the script, try the offical install method again.
#---------r-base-debian-bulleye.sh-----------------
It checks the dependencies, and then add the repo for the lastest version of r-base
#----------------Useful Links-----------------------
Install R on Ubuntu: https://cran.r-project.org/bin/linux/ubuntu/fullREADME.html
Install R on Debian: https://cran.r-project.org/bin/linux/debian/#supported-branches
Install Rstudio: https://www.rstudio.com/products/rstudio/download/#download
Install guide for rstan: https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started
Install guide for rethinking: https://github.com/rmcelreath/rethinking#quick-installation
Install guide for tidyverse: https://tidyverse.tidyverse.org/