You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I start with a repo with a lock file with just renv currently recorded, and add an R script with library(abc) (library doesn't matter for this, just picked a package with a smaller dependency footprint)
Note that the new version has the hash and the dependency tree described.
As far as I can tell this isn't a huge problem; the initial snapshot will work if you are using rspm (as renv gets the correct dependency order during download anyway). (Although as a note I lost kernmooth as a dependency when I made this reprex... I don't know why that happened!).
However I think probably I expect that if I run checkout with snapshot as an action I should get identical results to running checkout then running snapshot. Right now this doesn't seem to be what happens.
The text was updated successfully, but these errors were encountered:
R4.3.1 and renv 1.07.
I start with a repo with a lock file with just renv currently recorded, and add an R script with
library(abc)
(library doesn't matter for this, just picked a package with a smaller dependency footprint)Running
renv::checkout("https://packagemanager.posit.co/cran/2024-08-14", actions = c("restore", "snapshot"))
Generates a lockfile which looks like this:
Now I run
renv::snapshot()
Note that the new version has the hash and the dependency tree described.
As far as I can tell this isn't a huge problem; the initial snapshot will work if you are using rspm (as renv gets the correct dependency order during download anyway). (Although as a note I lost kernmooth as a dependency when I made this reprex... I don't know why that happened!).
However I think probably I expect that if I run checkout with snapshot as an action I should get identical results to running checkout then running snapshot. Right now this doesn't seem to be what happens.
The text was updated successfully, but these errors were encountered: