Skip to content

"internal error in pkgdepends" when trying pak::pak("parallel") #478

Description

@brian-bucher

I am not well-experienced in these matters, but the Error message says to report an issue here, so I am doing so.

I want to update the parallel package using pak::pak()

> pak::pak("parallel")
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 <https://github.com/r-lib/pkgdepends/issues>.
Type .Last.error to see the more details.

Here is the .Last.error output

> .Last.error
<callr_error/rlib_error_3_0/rlib_error/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 <https://github.com/r-lib/pkgdepends/issues>.
---
Backtrace:
1. pak::pak("parallel")
2. pak::pkg_install(pkg, ...)
3. pak:::remote(function(...) get("pkg_install_make_plan", asNamespace("pak"))(...), …
4. 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) …
> 

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions