summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2026-02-18 21:45:32 +0100
committerAndreas Enge <andreas@enge.fr>2026-03-07 11:57:27 +0100
commit308f1c1cb7f75e1bf7540e349189c8457742dd19 (patch)
tree293888067f2a1ba719104af43603135ae91d96f3
parent492ad617d28254546faed456513e6e78b7ef6420 (diff)
gnu: r-mosaic: Replace custom phase with #:skipped-tests.
* gnu/packages/cran.scm (r-mosaic)[arguments]: Remove phase 'delete-bad-tests; provide #:skipped-tests argument. Change-Id: I4585305e3e0281dd678e33cc7597b03c57514dba
-rw-r--r--gnu/packages/cran.scm18
1 files changed, 7 insertions, 11 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 943c4126dbf..f4707ae25e9 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -29332,17 +29332,13 @@ Processing of very large files is supported.")
. ("r-broom" "r-ggdendro" "r-ggrepel" "r-latticeextra"))))
(arguments
(list
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'delete-bad-tests
- (lambda _
- ;; This file contains tests that attempt to download data files
- ;; off the internet
- (substitute* "tests/testthat/test-read.file.R"
- ((".*read.file works.*" m)
- (string-append m "skip('skip');\n")))
- ;; Code run outside of test_that().
- (delete-file "tests/testthat/test-ladd.R"))))))
+ #:skipped-tests
+ '(;; Code run outside of test_that().
+ "test-ladd.R"
+ ;; This file contains tests that attempt to download data files
+ ;; off the internet
+ ("test-read.file.R"
+ "read.file works"))))
(propagated-inputs
(list r-dplyr
r-ggformula