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
R: update CRAN package set #51916
R: update CRAN package set #51916
Conversation
Pushed peti@de589cd to |
Looks like hydra finished. Do I need to investigate those three failures more closely? Also, since hydra is building the packages anyway, is there a way we can enable substitutions for R packages so users don't have to rebuild from source? If storage space is a concern, we could just do it for a small whitelist. Some popular packages (Rcpp, dplyr, etc) take a decent amount of time to build locally, especially on older laptops. |
The substitution should already happen when hydra is building the packages. |
@Mic92 I don't think I've ever had any R package substituted. And as far as I know I'm not doing anything that would require them to be rebuilt. |
I don't think I've ever had any R package substituted.
R packages aren't usually built by Hydra.
|
@peti Thanks. My question was though whether it's possible to enable that, at least for a subset of R packages. Some are very popular (Rcpp, dplyr, etc) and take a while to build locally. Other distros (e.g. Debian) do offer a subset of CRAN packages as binaries. |
I don't know. We used to build Personally, I don't feel stronly about any of this, to be honest. I compile my R packages locally and it seems to be no big deal. Maybe I'm just lucky with my choice of dependencies, though. Who knows. |
Sure, that makes sense. I don't think it would be very hard to come up with a reasonable whitelist. Perhaps the tidyverse + the X number of packages that have the highest number of reverse dependencies? Perhaps a few select others too based on the amount of compile time? |
Motivation for this change
Update CRAN snapshot
Things done
Following instructions in
doc/languages-frameworks/r.section.md
:sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)