Skip to content

Commit cbfd591

Browse files
use system renv before using renv's renv version
1 parent 73c5012 commit cbfd591

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inst/update-dependency-graph-existing-packages.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
source("renv/activate.R")
2-
31
hook_deps <- function(root) {
42
out <- renv::dependencies("inst/hooks/exported/")$Package
53
desc <- desc::desc()
@@ -16,6 +14,7 @@ hook_deps <- function(root) {
1614
}
1715

1816
source("inst/update-renv-prepare.R")
17+
source("renv/activate.R")
1918
options(renv.snapshot.filter = hook_deps)
2019

2120
renv::snapshot(type = "custom", prompt = FALSE)

0 commit comments

Comments
 (0)