When pak is enabled, packages are not installed before snapshot
See how my instruction to install, then snapshot was ignored:
```
r$> renv::snapshot()
The following required packages are not installed:
- tidyverse
Packages must first be installed before renv can snapshot them.
Use `renv::dependencies()` to see where this package is used in your project.
What do you want to do?
1: Snapshot, just using the currently installed packages.
2: Install the packages, then snapshot. <-----------------------------
3: Cancel, and resolve the situation on your own.
Selection: 2 <--------------------------------
✔ Loading metadata database ... done
ℹ No downloads are needed
✔ 1 pkg: kept 1 [4.5s]
The following required packages are not installed: <--------------------------------
- tidyverse
Packages must first be installed before renv can snapshot them.
Use `renv::dependencies()` to see where this package is used in your project.
- The lockfile is already up to date.
```
You can see the diagnostics in my previous report (https://github.com/rstudio/renv/issues/2280).
0 条评论