r-lib / pkgdepends

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

! Error in dependency solver, cannot solve installation. #393

Open ozanozbeker opened 4 days ago

ozanozbeker commented 4 days ago
> pkg_install("splines")

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>.
Hide Traceback
    ▆
 1. └─pak::pkg_install("splines")
 2.   └─pak:::remote(...)
 3.     └─err$throw(res$error)
ozanozbeker commented 4 days ago

I had {tidymodels} loaded first, not sure if this would effect it: ✖ tidymodels::pkg_deps() masks pak::pkg_deps()

ozanozbeker commented 4 days ago

No, I restarted R without loading {tidymodels} and I got the same error.

gaborcsardi commented 4 days ago

This should not be an error, but splines is a base package, it comes with R, you cannot install it separately.