-
Notifications
You must be signed in to change notification settings - Fork 218
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
setup-r-dependencies reinstalling too many packages? #759
Comments
cc @krlmlr |
Same behavior with the second run on a clean cache: https://github.com/cynkra/dm/actions/runs/6252912237/job/16981709927 . . |
I can reproduce locally, so will fix very soon. |
Yeah, so this is because the installed package has a slightly different platform string than the one in the lockfile: Browse[2]> installed[["platform"]]
[1] "x86_64-pc-linux-gnu"
Browse[2]> solution[["platform"]]
[1] "x86_64-pc-linux-gnu-ubuntu-22.04" OTOH, we could also use this: Browse[2]> installed$remotepkgplatform
[1] "x86_64-pc-linux-gnu-ubuntu-22.04" But for a package installed from CRAN we only have this, and we should handle this as well:
Or, a package installed from CRAN with
and of course packages installed from PPM will have this with:
|
For standard, cran and bioc packages. Closes r-lib/actions#759
Should be in tomorrow's pak devel build, in about 7-8 hours. |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue |
E.g. https://github.com/cynkra/dm/actions/runs/6242346392/job/16946128599
Reinstalls 76 packages out of about 152.
The text was updated successfully, but these errors were encountered: