Skip to content

Commit de8c718

Browse files
add todo note
1 parent 7364abe commit de8c718

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ source("renv/activate.R")
1818
renv::restore()
1919
options(renv.snapshot.filter = hook_deps)
2020

21+
# TODO snapshot looks up from which repo the packages were installed.
22+
# Hence, setting the repo option only affects new installs. Solution:
23+
# - manually replace cran with rspm in renv.lock
24+
# - first activate renv, restore renv and then run this script
2125
renv::snapshot(type = "custom", prompt = FALSE)

0 commit comments

Comments
 (0)