guix_mirror_bot pushed a commit to branch r-team
in repository guix.

commit 639b55b0d1ea4bba92bead5efda55b9f774f90b5
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 21:45:32 2026 +0100

    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
---
 gnu/packages/cran.scm | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index af2835d91b..4a01ed3fd2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -29285,17 +29285,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

Reply via email to