diff --git a/scripts/install_sys_deps.sh b/scripts/install_sys_deps.sh index d7cb39d..50fa1cc 100755 --- a/scripts/install_sys_deps.sh +++ b/scripts/install_sys_deps.sh @@ -6,9 +6,6 @@ pkgs_to_install="\ curl \ rsync \ qpdf \ - -gdebi-core \ -g++ \ " apt update -y @@ -26,7 +23,8 @@ rm -rf /var/lib/apt/lists/* # curl -Ls https://github.com/r-lib/rig/releases/download/latest/rig-linux-$(arch)-latest.tar.gz | tar xz -C /usr/local # rig add ${R_VERSION} --without-p3m --without-cran-mirror --without-pak -curl -O https://cdn.posit.co/r/ubuntu-2204/pkgs/r-${R_VERSION}_1_amd64.deb && gdebi r-${R_VERSION}_1_amd64.deb +# curl -O https://cdn.posit.co/r/ubuntu-2204/pkgs/r-${R_VERSION}_1_amd64.deb && gdebi r-${R_VERSION}_1_amd64.deb +bash -c "$(curl -L https://rstd.io/r-install)" echo "options(repos = c(CRAN = 'https://packagemanager.posit.co/cran/__linux__/jammy/${CRAN_DATE}'))" >> /opt/R/${R_VERSION}/lib/R/etc/Rprofile.site # Install quarto