pkgdepends
pkgdepends copied to clipboard
R Package Dependency Resolution
I tried my best to track this issue down, but it's been a bit tricky to navigate the `pak` private library and async. Hopefully I'm close enough that the bug...
Closes https://github.com/r-lib/pak/issues/588 Also fixes some small errors in the GitLab section.
``` r library(pkgdepends) deps_1 + refs: #> - r-lib/rlang #> + constraints (2): #> - select rlang exactly once #> - `r-lib/rlang` is not satisfied by `installed::/Users/ruckip/Library/R/arm64/4.3/library/rlang` #> + solution:...
This is a proof of concept implementation for #261 The basic idea is to leverage the fact that the metadata of installed packages is already cached. So we don't need...
```r ❯ pak::pkg_install(c("xxxxx", sample(pkgcache::parse_installed()$Package, 10))) Error: ! error in pak subprocess Caused by error: ! Could not solve package dependencies: * xxxxx: Can't find package called xxxxx. * triebeard: dependency...
```r ❯ pak::pkg_install("[email protected]", lib = tempfile()) ℹ Creating library directory: /var/folders/ph/fpcmzfd16rgbbk8mxvy9m2_h0000gn/T//RtmpwcIR2K/file5891172790e Error: ! error in pak subprocess Caused by error: ! invalid version specification ‘NA’ Type .Last.error to see the...