diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2018-03-06 11:51:33 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-03-06 16:03:04 +0100 |
commit | fe58ab013be8b8232ed4de356b3d0cb8b1bbb847 (patch) | |
tree | 9c2a495bde259a2a22c68acf81b841e90126a706 /gnu | |
parent | 08ddb98aefc9d3831cea7c6dc6b68039836d09dd (diff) | |
download | guix-fe58ab013be8b8232ed4de356b3d0cb8b1bbb847.tar.gz guix-fe58ab013be8b8232ed4de356b3d0cb8b1bbb847.zip |
gnu: r-lambda-r: Run unit tests.
* gnu/packages/statistics.scm (r-lambda-r)[native-inputs]: Add r-runit.
[arguments]: Add build phase to delete test logs.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/statistics.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 338db28222..8ebdce1376 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2814,6 +2814,19 @@ plotted and compared with the asymptotic curve.") "0vql32np716dpd0kjn7s7wgawd02ysgp2a5il4kb19nlw661ii3x")))) (properties `((upstream-name . "lambda.r"))) (build-system r-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'check 'delete-test-log + ;; The test report contains time stamps and is not important for + ;; the installed package. + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively + (string-append (assoc-ref outputs "out") + "/site-library/lambda.r/unitTests")) + #t))))) + (native-inputs + `(("r-runit" ,r-runit))) (home-page "https://cran.r-project.org/web/packages/lambda.r") (synopsis "Functional programming extension for R") (description |