From 4a3bc6de5efa78bd11087df4e005fb52f88f75dd Mon Sep 17 00:00:00 2001 From: Riccardo Porreca Date: Mon, 15 Jan 2024 11:36:38 +0100 Subject: [PATCH] wop --- .github/workflows/ci-cd-renv.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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