You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pak::pkg_install("mrcaseb/issuepkgA")
#> #> → Will install 2 packages.#> → All 2 packages (0 B) are cached.#> + issuepkgA 0.0.0.9000 👷🏼♂️🔧 (GitHub: 97552bf)#> + issuepkgB 0.0.0.9000 👷🏼♀️🔧 (GitHub: 621cfe3)#> ℹ No downloads are needed, 2 pkgs are cached#> Error: ! error in pak subprocess#> Caused by error in `select_next_task(state)`:#> ! Cannot select new package installation task.#> ℹ 2 packages still waiting to install: issuepkgA and issuepkgB.#> ℹ This is an internal error in pkgdepends, please report an issue at#> <https://github.com/r-lib/pkgdepends/issues>.
Yes, ideally it would be a better error message, but it is possible to install packages with circular dependencies in R, so this is not going to work, possibly ever.
Activity
gaborcsardi commentedon Mar 11, 2025
I think this is a circular dependency between DPchecker and EMLeditor.
The error message should be better, though.
mrcaseb commentedon Aug 18, 2025
I ran into a similar issue with circular dependencies. Is this supposed to fail because of the circle @gaborcsardi? Or is it a bug?
I created dummy packages to test and report, then I found this issue. Here are the links to the dummy packages:
Created on 2025-08-18 with reprex v2.1.1
gaborcsardi commentedon Aug 18, 2025
Yes, ideally it would be a better error message, but it is possible to install packages with circular dependencies in R, so this is not going to work, possibly ever.
katrinabrock commentedon Sep 1, 2025
Got the same error. Good to know it's circular dependency. I will check for that, but would be nice for that to be noted in the error.
krlmlr commentedon Nov 5, 2025
Same here, with jmbr. I'll watch out for circular dependencies.
https://github.com/poissonconsulting/jmbr/actions/runs/19088545687/job/54534041811#step:7:8887