From 6b3eec627e55158c08034b739a4ec9f2e12b98af Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 1 Mar 2017 10:05:34 +0100 Subject: [PATCH] R: include output of sessionInfo() in the "make check" log The R developers would like that information to be included in bug reports. --- pkgs/applications/science/math/R/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index 424c8172dd1..659b648561c 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -68,7 +68,8 @@ stdenv.mkDerivation rec { installTargets = [ "install" "install-info" "install-pdf" ]; - doCheck = withRecommendedPackages; + doCheck = true; + preCheck = "bin/Rscript -e 'sessionInfo()'"; enableParallelBuilding = true;