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: 3.2.4 -> 3.3.2 #22817
R: 3.2.4 -> 3.3.2 #22817
Conversation
Is it okay to update these and not the other package sets? Hopefully! :) Unfortunately this fails the 'test-evaluation.nix' check, looks like default.nix needs to be updated as well. Not sure if that just means removing references to no-longer-existing packages or if there's more to it?
|
+1. Resolves issues with this older pull request #20704 . The "--with-system*" configure flags are deprecated in 3.3.2, so it makes sense to remove them from the This builds a functioning R on my macOS 10.11.6 machine, although this update does not solve what seems to be a longer standing issue that no interactive graphical device (x11, quartz,...) is available in the macOS build. |
Thanks guys for the feedback. I've removed the --with-system flags and fixed the errors found by test-evaluation.nix, including a naming clash between the R package "import" and the import keyword in nix (fixed in the generation script). |
Note that we branch-off 17.03 today, so let's test and merge this. @lukego can you test this work for you? |
@domenkozar Trying to test now. Just at the moment running
|
@lukego Nix should get 404 for most of those links and fallback to source building after some seconds. Does it not? |
@domenkozar No, on my NixOS machine ( |
Try adding |
@domenkozar No difference. Can Hydra test this instead somehow instead of depending on my private tests? |
Will do that after lunch |
R builds OK for me, but I haven't tested it except for starting up the interpreter. |
I am a relative R newbie. I have some software I have developed with Rstudio that I want to deploy with nix, but I don't know exactly what versions I depend on, and I am happy if nixpkgs just picks up the latest versions and then I make that work for me. |
http://hydra.nixos.org/jobset/nixpkgs/r-updates#tabs-evaluations is evaluating /cc @peti |
It's almost half way through and most of packages compile. We can fix those that don't in the next month :) Thanks! |
Motivation for this change
R 3.2 is quite old and a lot of commonly used packages are not available or obsolete. This updates R to the latest minor version and updates the CRAN and bioconductor packages.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)