gnu: r-monocle: Disable tests.

* gnu/packages/bioconductor.scm (r-monocle)[arguments]: Disable tests and add
phase 'patch-tests.

Change-Id: I430617a0edf56b977f882e9bd2b79dcb4a34542d
This commit is contained in:
Ricardo Wurmus 2024-11-27 12:22:03 +01:00 committed by Andreas Enge
parent 98c1c91c06
commit eb7250bda1
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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