mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-09 22:50:34 +02:00
gnu: r-caretensemble: Replace custom phase with #:skipped-tests.
* gnu/packages/cran.scm (r-caretensemble)[arguments]: Remove phase 'disable-bad-tests; provide #:skipped-tests argument. Change-Id: I52908e2bd76c8e7469f645b7da2bc7578be04684
This commit is contained in:
committed by
Andreas Enge
parent
9681cd9c7c
commit
90a69aefe0
@@ -45542,13 +45542,10 @@ classification and regression models.")
|
||||
(build-system r-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-bad-tests
|
||||
(lambda _
|
||||
(substitute* "tests/testthat/test-caretList.R"
|
||||
((".*caretList supports models that return an array.*" m)
|
||||
(string-append m "skip('skip');\n"))))))))
|
||||
#:skipped-tests
|
||||
'(("test-caretList.R"
|
||||
;; Required packages are missing: mgcv
|
||||
"caretList supports models that return an array or matrix"))))
|
||||
(propagated-inputs (list r-caret
|
||||
r-data-table
|
||||
r-ggplot2
|
||||
|
||||
Reference in New Issue
Block a user