Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ozanozbeker opened this issue Nov 14, 2024 · 3 comments
Open

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

ozanozbeker opened this issue Nov 14, 2024 · 3 comments

Comments

@ozanozbeker
Copy link

> 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 Traceback1. └─pak::pkg_install("splines")
 2.   └─pak:::remote(...)
 3.     └─err$throw(res$error)
@ozanozbeker
Copy link
Author

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

@ozanozbeker
Copy link
Author

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

@gaborcsardi
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants