Skip to content

Commit

Permalink
re-include renv in packages to update (e.g. to fix rstudio/renv#1869)…
Browse files Browse the repository at this point in the history
…. Not sure why renv was excluded ever?
  • Loading branch information
lorenzwalthert committed Sep 15, 2024
1 parent 5716f17 commit 5d444cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/update-existing-hook-dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ renv_deps <- names(jsonlite::read_json("renv.lock")$Packages)
source("renv/activate.R")
renv::load()
renv::restore(prompt = FALSE)
can_be_updated <- renv::update(setdiff(renv_deps, "renv"), prompt = FALSE, check = FALSE)
can_be_updated <- renv::update(renv_deps, prompt = FALSE, check = FALSE)
renv::snapshot(packages = renv_deps, prompt = FALSE)

0 comments on commit 5d444cf

Please sign in to comment.