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

commit 32b81c2d31a2c31b0eca76595a188a61b4f54fe5
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 17:06:29 2026 +0100

    gnu: r-workflows: Replace custom phase with #:skipped-tests.
    
    * gnu/packages/cran.scm (r-workflows)[arguments]: Remove phase
    'skip-bad-tests; provide #:skipped-tests argument.
    
    Change-Id: I54505f38d20c8cc47166f8902c28b6fde2ecac6e
---
 gnu/packages/cran.scm | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 435631054b..55b928bd60 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -51656,19 +51656,13 @@ more.")
     (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-generics.R"
-               ((".*can compute required packages of a workflow - tailor.*" m)
-                (string-append m "skip('skip');\n"))
-               ((".*extract tuning from workflow with tunable postprocessor.*" 
m)
-                (string-append m "skip('skip');\n"))
-               ((".*extract tuning from workflow with tunable recipe, model, 
and 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 depedency cycle.
+      '(("test-generics.R"
+         "can compute required packages of a workflow - tailor"
+         "extract tuning from workflow with tunable postprocessor"
+         "extract tuning from workflow with tunable recipe, model, and 
tailor"))))
     (propagated-inputs
      (list r-cli
            r-generics

Reply via email to