From e55c387c71f6fbbc9af5729f9668fef6bb87da2f Mon Sep 17 00:00:00 2001 From: Riccardo Porreca Date: Mon, 15 Jan 2024 11:31:08 +0100 Subject: [PATCH] wip --- .github/workflows/ci-cd-renv.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd-renv.yml b/.github/workflows/ci-cd-renv.yml index 4c36b10..362e940 100644 --- a/.github/workflows/ci-cd-renv.yml +++ b/.github/workflows/ci-cd-renv.yml @@ -52,9 +52,8 @@ jobs: # requirements, but would have to handle the pak cache explicitly # See https://github.com/r-lib/actions/issues/785 run: | - install.packages(c("pak", "jsonlite")) - pak::sysreqs_fix_installed(names(jsonlite::read_json("renv.lock")$Packages)) - shell: Rscript {0} + Rscript -e "install.packages(c('pak', 'jsonlite'))" + Rscript -e "pak::sysreqs_fix_installed(names(jsonlite::read_json('renv.lock')$Packages))" - name: Activate renv and restore packages with cache uses: r-lib/actions/setup-renv@v2