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 have observed that the hanging might only occur on Windows, whereas on Linux it bails out with an {pkgdepends} error (filed upstream {pkgdepends} issue)
> pak::pkg_install(character())
Error:
! error in pak subprocess
Caused by error in `pkgplan_solve(self, private, match.arg(policy))`:
! Error in dependency solver, cannot solve installation.
ℹ Solver status: -1.
ℹ This is an internal error in pkgdepends, please report an issue at .
Type .Last.error to see the more details.
> .Last.error
Error:
! error in pak subprocess
Caused by error in `pkgplan_solve(self, private, match.arg(policy))`:
! Error in dependency solver, cannot solve installation.
ℹ Solver status: -1.
ℹ This is an internal error in pkgdepends, please report an issue at .
---
Backtrace:
1. pak::pkg_install(character())
2. pak:::remote(function(...) get("pkg_install_make_plan", asNamespace("pak"))(...), …
3. err$throw(res$error)
---
Subprocess backtrace:
1. base::withCallingHandlers(cli_message = function(msg) { …
2. get("pkg_install_make_plan", asNamespace("pak"))(...)
3. prop$solve()
4. private$plan$solve(policy = private$policy)
5. pkgdepends:::pkgplan_solve(self, private, match.arg(policy))
6. base::throw(pkg_error("Error in dependency solver, cannot solve installation.", …
7. | base::signalCondition(cond)
8. global (function (e) …
There were 11 warnings (use warnings() to see them)
─ Session info ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.5.1 (2025-06-13)
os Ubuntu 22.04.5 LTS
system x86_64, linux-gnu
ui RStudio
language (EN)
collate C.UTF-8
ctype C.UTF-8
tz Etc/UTC
date 2025-06-27
rstudio 2025.05.0+496.pro5 Mariposa Orchid (server)
pandoc 2.9.2.1 @ /usr/bin/pandoc
quarto 1.6.42 @ /usr/lib/rstudio-server/bin/quarto/bin/quarto
─ Packages ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
package * version date (UTC) lib source
pak 0.9.0 2025-05-27 [1] RSPM (R 4.5.0)
Activity
kevinushey commentedon Nov 18, 2024
For what it's worth, I was expecting / hoping that this would be a shorthand for asking
pakto update all currently-installed packages.gaborcsardi commentedon Nov 18, 2024
I would think that that means to do nothing. But yeah, this is a known problem, there are probably a couple of open issues for it.
HenningLorenzen-ext-bayer commentedon Jun 27, 2025
I have observed that the hanging might only occur on Windows, whereas on Linux it bails out with an {pkgdepends} error (filed upstream {pkgdepends} issue)
> pak::pkg_install(character()) Error: ! error in pak subprocess Caused by error in `pkgplan_solve(self, private, match.arg(policy))`: ! Error in dependency solver, cannot solve installation. ℹ Solver status: -1. ℹ This is an internal error in pkgdepends, please report an issue at . Type .Last.error to see the more details. > .Last.error Error: ! error in pak subprocess Caused by error in `pkgplan_solve(self, private, match.arg(policy))`: ! Error in dependency solver, cannot solve installation. ℹ Solver status: -1. ℹ This is an internal error in pkgdepends, please report an issue at . --- Backtrace: 1. pak::pkg_install(character()) 2. pak:::remote(function(...) get("pkg_install_make_plan", asNamespace("pak"))(...), … 3. err$throw(res$error) --- Subprocess backtrace: 1. base::withCallingHandlers(cli_message = function(msg) { … 2. get("pkg_install_make_plan", asNamespace("pak"))(...) 3. prop$solve() 4. private$plan$solve(policy = private$policy) 5. pkgdepends:::pkgplan_solve(self, private, match.arg(policy)) 6. base::throw(pkg_error("Error in dependency solver, cannot solve installation.", … 7. | base::signalCondition(cond) 8. global (function (e) … There were 11 warnings (use warnings() to see them)pak::pak_sitrep()
sessioninfo::session_info(pkgs = "pak")
thoelken commentedon Jan 19, 2026
Can confirm that this stalls forever on Linux.
This halted our CI script that installs a vector of packages sans those already installed for a weekend.