r-lib / pkgdepends

R Package Dependency Resolution
https://r-lib.github.io/pkgdepends/
Other
102 stars 30 forks source link

Output too verbose #340

Open gaborcsardi opened 1 year ago

gaborcsardi commented 1 year ago
❯ 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 conflict
* profvis: dependency conflict
* asciicast: dependency conflict
* deldir: dependency conflict
* hardhat: dependency conflict
* stars: dependency conflict
* styler: dependency conflict
* downlit: dependency conflict
Type .Last.error to see the more details.

Avoid printing 'dependency conflict', if at least one error was already reported.