diff --git a/scripts/install_sys_deps.sh b/scripts/install_sys_deps.sh index d48487f..c0f74e5 100755 --- a/scripts/install_sys_deps.sh +++ b/scripts/install_sys_deps.sh @@ -19,9 +19,14 @@ apt-get autoclean -y rm -rf /var/lib/apt/lists/* -# Install rig -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 +# # Install rig +# 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 +apt install gdebi-core +gdebi r-${R_VERSION}_1_amd64.deb + 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