3
0
Fork 0
forked from mirrors/nixpkgs

R: update to version 3.4.0

The new version needs TZ configured to a value other than "UTC" for the test
suite to succeed. Otherwise, an assumption in "reg-tests-1d.R" won't hold that
expects

  d <- as.POSIXlt("2016-12-06"); d$zone <- 1; format(d)

to throw an error about an invalid time zone.
This commit is contained in:
Peter Simons 2017-04-21 16:42:05 +02:00
parent e17e5590b5
commit d16c38a260

View file

@ -7,11 +7,11 @@
}:
stdenv.mkDerivation rec {
name = "R-3.3.3";
name = "R-3.4.0";
src = fetchurl {
url = "http://cran.r-project.org/src/base/R-3/${name}.tar.gz";
sha256 = "0v7wpj89b0i3ad3fi1wak5c93hywmbxv8sdnixhq8l17782nidss";
sha256 = "14cb8bwi3akvdb6934kqic2862f2qgav6cq4g0h7gi2p4ka9x3i8";
};
buildInputs = [
@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
installTargets = [ "install" "install-info" "install-pdf" ];
doCheck = true;
preCheck = "bin/Rscript -e 'sessionInfo()'";
preCheck = "export TZ=CET; bin/Rscript -e 'sessionInfo()'";
enableParallelBuilding = true;