ropensci / rix

Reproducible Data Science environments for R with Nix
https://docs.ropensci.org/rix/
GNU General Public License v3.0
181 stars 15 forks source link

R versions >4.4.0 not in sysdata #360

Closed brancengregory closed 5 minutes ago

brancengregory commented 1 hour ago

Howdy,

I dropped by to give the renv2nix function a try and on first run got this error:

Error in rix(r_ver = "4.4.2", r_pkgs = "renv", git_pkgs = NULL) : argument "project_path" is missing, with no default

The project_path argument being necessary wasn't immediately clear. When added I then received:

Error in get_latest(r_ver) : The provided R version is likely wrong. Please check that you provided a correct R version. You can list available versions using available_r(). You can also directly provide a commit, but you need to make sure it points to the right repo used by rix().

Listing versions as recommended I noticed the highest version is 4.4.0. The underlying sysdata table doesn't include higher versions.

brancengregory commented 1 hour ago

I see how that is being populated and logged in data-raw/DATASET.R but I'm unsure where those values are coming from so I can't make a PR

b-rodrigues commented 5 minutes ago

To get the latest version, you should use the keyword "latest", but for now, this is at version 4.4.1. Version 4.4.2 is not yet in nixpkgs because there is a new NixOS release coming, and the builders were 100% focused on building the more critical packages, and the R tree had to wait.

We should be able to get some capacity soon to start building the packages. We don’t want to include a new R version without being able to build all CRAN and Bioconductor packages beforehand to check that everything works well.

The way this is done now will change though, I agree that this is not ideal. I will make clearer error messages.