From eb7250bda17f10f27eebf8eb198bee4a33a6cf2e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 27 Nov 2024 12:22:03 +0100 Subject: [PATCH] gnu: r-monocle: Disable tests. * gnu/packages/bioconductor.scm (r-monocle)[arguments]: Disable tests and add phase 'patch-tests. Change-Id: I430617a0edf56b977f882e9bd2b79dcb4a34542d --- gnu/packages/bioconductor.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 91f00c2676..c731030ec2 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -15996,6 +15996,17 @@ (define-public r-monocle (base32 "1qxf83zblihxm3fs5zrzf1spzhnm332n6nbzbzaid69l7xmgl5x0")))) (build-system r-build-system) + (arguments + (list + ;; Test files are not included. + #:tests? #false + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'patch-tests + (lambda _ + (substitute* "inst/tests/basic_tests.R" + (("^load_small_test" m) + (string-append "library(testthat)\n" m)))))))) (propagated-inputs (list r-biobase r-biocgenerics