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