summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2026-02-18 10:10:33 +0100
committerAndreas Enge <andreas@enge.fr>2026-03-07 11:57:25 +0100
commit63ede7407875b07c07b37f1c07b2bb033146f9c4 (patch)
treef2f800b836a9781a74b3b3ccce0cf16e0eadc759
parent1550831ebaeddec2167612e4b8bd5a2051bd701b (diff)
gnu: r-ggdist: Replace custom phase with #:skipped-tests.
* gnu/packages/cran.scm (r-ggdist)[arguments]: Remove phase 'skip-bad-tests; provide #:skipped-tests argument. Change-Id: I43dd35d5d311e0865ff24163f8bfe39ae1cc24e2
-rw-r--r--gnu/packages/cran.scm12
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 091d64ef720..c152264c5b1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4683,14 +4683,10 @@ cluster diagrams.")
(build-system r-build-system)
(arguments
(list
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'skip-bad-tests
- (lambda _
- ;; Fetching the R releases requires internet access.
- (substitute* "tests/testthat/test.scale_.R"
- ((".*mapping custom aesthetics works.*" m)
- (string-append m "skip('skip');\n"))))))))
+ #:skipped-tests
+ ;; Fetching the R releases requires internet access.
+ '(("test.scale_.R"
+ "mapping custom aesthetics works"))))
(propagated-inputs (list r-cli
r-distributional
r-ggplot2