Skip to content

"internal error in pkgdepends" #440

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

Open
RobLBaker opened this issue Mar 11, 2025 · 1 comment
Open

"internal error in pkgdepends" #440

RobLBaker opened this issue Mar 11, 2025 · 1 comment
Labels
bug an unexpected problem or unintended behavior documentation

Comments

@RobLBaker
Copy link

RobLBaker commented Mar 11, 2025

Hello,

upon trying to use pak::pkg_install I got this error message, which state to report the error here:

pak::pkg_install("nationalparkservice/NPSdataverse")
#> ℹ Loading metadata database
#> ✔ Loading metadata database ... done
#> 
#> 
#> → Will install 4 packages.
#> → Will download 4 packages with unknown size.
#> + DPchecker      1.0.0 [bld][cmp][dl] (GitHub: 395992f)
#> + EMLeditor      0.1.6 [bld][cmp][dl] (GitHub: 9a59ee3)
#> + NPSdataverse   0.1.0 [bld][cmp][dl] (GitHub: 4ef90b5)
#> + NPSutils       1.0.0 [bld][cmp][dl] (GitHub: 4fb0bb3)
#> ℹ Getting 4 pkgs with unknown sizes
#> ✔ Cached copy of NPSdataverse 0.1.0 (source) is the latest build
#> ✔ Cached copy of DPchecker 1.0.0 (source) is the latest build
#> ✔ Cached copy of EMLeditor 0.1.6 (source) is the latest build
#> ✔ Cached copy of NPSutils 1.0.0 (source) is the latest build
#> Error: ! error in pak subprocess
#> Caused by error in `select_next_task(state)`:
#> ! Cannot select new package installation task.
#> ℹ 4 packages still waiting to install: NPSdataverse, DPchecker, EMLeditor, and
#>   NPSutils.
#> ℹ This is an internal error in pkgdepends, please report an issue at
#>   <https://github.com/r-lib/pkgdepends/issues>.

@gaborcsardi
Copy link
Member

I think this is a circular dependency between DPchecker and EMLeditor.

The error message should be better, though.

@gaborcsardi gaborcsardi added bug an unexpected problem or unintended behavior documentation labels May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior documentation
Projects
None yet
Development

No branches or pull requests

2 participants