diff --git a/.github/workflows/cmd-check.yml b/.github/workflows/cmd-check.yml index d01fd16..467094f 100644 --- a/.github/workflows/cmd-check.yml +++ b/.github/workflows/cmd-check.yml @@ -112,7 +112,7 @@ jobs: - name: Install Linux system dependencies if: runner.os == 'Linux' run: | - sysreqs=$(Rscript -e 'cat("apt-get update -y && apt-get install -y", paste(gsub("apt-get install -y ", "", remotes::system_requirements("ubuntu", "20.04")), collapse = " "))') + sysreqs=$(Rscript -e 'Sys.setenv(RSPM_ROOT = "https://packagemanager.posit.co"); cat("apt-get update -y && apt-get install -y", paste(gsub("apt-get install -y ", "", remotes::system_requirements("ubuntu", "20.04")), collapse = " "))') echo $sysreqs sudo -s eval "$sysreqs"