summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2026-02-18 10:09:55 +0100
committerAndreas Enge <andreas@enge.fr>2026-03-07 11:57:25 +0100
commit1550831ebaeddec2167612e4b8bd5a2051bd701b (patch)
treec7dc9b586180f854994a26c9f31b5b20c5d5de8e
parent4498ca3ad579d778dfc3c86879f6d11b315b05b2 (diff)
gnu: r-tailor: Replace custom phase with #:skipped-tests.
* gnu/packages/cran.scm (r-tailor)[arguments]: Remove phase 'skip-bad-tests; provide #:skipped-tests argument. Change-Id: Ie28578f001f94c32d74a98f0ce894b929f434fc3
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 11 insertions, 14 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index eeceb21f3bc..091d64ef720 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -12641,20 +12641,17 @@ data types as well.")
(build-system r-build-system)
(arguments
(list
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'skip-bad-tests
- (lambda _
- ;; These tests require the r-probably package, which we can't add
- ;; to avoid a depedency cycle.
- (substitute* "tests/testthat/test-utils.R"
- ((".*tailor_fully_trained works.*" m)
- (string-append m "skip('skip');\n")))
- (substitute* "tests/testthat/test-extract.R"
- ((".*extract single parameter from tailor.*" m)
- (string-append m "skip('skip');\n"))
- ((".*extract parameter set from tailor.*" m)
- (string-append m "skip('skip');\n"))))))))
+ #:skipped-tests
+ ;; These tests require the r-probably package, which we can't add to
+ ;; avoid a dependency cycle.
+ '(("test-utils.R"
+ "tailor_fully_trained works")
+ ("test-extract.R"
+ "extract single parameter from tailor"
+ "extract parameter set from tailor with a tunable parameter"
+ "extract parameter set from tailor with multiple tunable parameters"
+ "extract single parameter from tailor with no tunable parameters"
+ "extract single parameter from tailor with tunable parameters"))))
(propagated-inputs (list r-cli
r-dplyr
r-generics