Skip to content

Commit adc6283

Browse files
move json lite installation out of script
[ci skip]
1 parent 738b108 commit adc6283

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/hook-dependencies-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
Rscript -e "install.packages('remotes'); remotes::install_github('r-hub/sysreqs')"
3434
sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
3535
sudo -s eval "$sysreqs"
36-
- name: install renv
37-
run: Rscript -e "install.packages('renv')"
36+
- name: install runtime dependencies
37+
run: Rscript -e "install.packages(c('renv', 'jsonlite'))"
3838
- name: update PPM URL
3939
run: Rscript inst/update-ppm-url.R
4040
- name: update dependency graph among packages

inst/update-existing-hook-dependencies.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
source("inst/update-renv-prepare.R")
2-
renv::install("jsonlite")
32
renv_deps <- names(jsonlite::read_json("renv.lock")$Packages)
43
source("renv/activate.R")
54
renv::load()

0 commit comments

Comments
 (0)