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 c85f4fd commit c0c51ba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci-cd-renv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ jobs:
run: |
install.packages("pak", repos = "https://r-lib.github.io/p/pak/stable/")
install.packages("jsonlite")
pak::sysreqs_fix_installed(names(jsonlite::read_json("renv.lock")[["Packages"]]))
print(pak::pkg_sysreqs("roxygen2"))
print(str(jsonlite::read_json("renv.lock"), max.level=2))
pkgs <- names(jsonlite::read_json("renv.lock")[["Packages"]])
print(pkgs)
pak::sysreqs_fix_installed(c("curl"))
pak::sysreqs_fix_installed(pkgs)
shell: Rscript {0}

- name: Activate renv and restore packages with cache
Expand Down

0 comments on commit c0c51ba

Please sign in to comment.