pak
pak copied to clipboard
A fresh approach to package installation
E.g. if a package is requested, and there is nothing to do, then there is no output currently, which is confusing.
This is on Linux (`rhub/r-minimal:4.0`) ``` > pak::pak("praise") → Will install 1 packages. → Will download 1 CRAN packages (6.10 kB). + praise 1.0.0 [bld][dl] (6.10 kB) ℹ Getting 1...
- [ ] Errors take very long to report, probably a large object is copied back from the subprocess. - [ ] The compilation error is not printed even if...
When specified explicitly, but not as a dependency.
We would need to generate the output in the subprocess, and then copy it to the main process. We need a way to deal with these issues in general
We need to use our own `message()`, just like in cli, in the main process.
Currently, `pkg_remove` is silent. I would expect some verbose like other `pkg_*` function ```r > pak::pkg_install("usethis") i Checking for package metadata updates v All 12 metadata files are current. v...
Once per session, after metadata downloaded, check if pak is out of date?
Then this can also serve as (source of) manifest.