Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoporreca committed Jan 15, 2024
1 parent f47487c commit e55c387
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-cd-renv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e55c387

Please sign in to comment.