diff --git a/.github/workflows/ci-cd-renv.yml b/.github/workflows/ci-cd-renv.yml index 362e940..00b2fea 100644 --- a/.github/workflows/ci-cd-renv.yml +++ b/.github/workflows/ci-cd-renv.yml @@ -52,7 +52,8 @@ jobs: # requirements, but would have to handle the pak cache explicitly # See https://github.com/r-lib/actions/issues/785 run: | - Rscript -e "install.packages(c('pak', 'jsonlite'))" + Rscript -e "install.packages('pak', repos = 'https://r-lib.github.io/p/pak/stable/')" + Rscript -e "install.packages('jsonlite')" Rscript -e "pak::sysreqs_fix_installed(names(jsonlite::read_json('renv.lock')$Packages))" - name: Activate renv and restore packages with cache