From fe58ab013be8b8232ed4de356b3d0cb8b1bbb847 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 6 Mar 2018 11:51:33 +0100 Subject: 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. --- gnu/packages/statistics.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gnu') 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 -- cgit 1.4.1