"internal error in pkgdepends"

Open
#440 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
r
Domain
tooling

Research direction

Start by reproducing the reported pak::pkg_install("nationalparkservice/NPSdataverse") command and follow the error path through select_next_task(state). Check how the four listed packages remain waiting to install. Done means the dependency installation no longer stops with the internal pkgdepends error.

Written by the indexing model from the issue text.

Description

bug documentation

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>.

Dominant language
C
Stars
135
Forks
47
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from r-lib/pkgdepends

All issues in r-lib/pkgdepends

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.