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

commit b41507b214d2ba6fd014e96f802dd41ef18ebb76
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 10:10:33 2026 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 20d4b91629..d2f5817ff7 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4659,14 +4659,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

Reply via email to