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

commit 71d0c8013570c6c44f3560c62409801444891366
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 21:45:12 2026 +0100

    gnu: r-rsconnect: Replace custom phase with #:skipped-tests.
    
    * gnu/packages/cran.scm (r-rsconnect)[arguments]: Remove phase
    'disable-bad-test; provide #:skipped-tests argument.
    
    Change-Id: I77ff5e4f0882e2db0db2637fa0367389a6589c7d
---
 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 27617982b4..af2835d91b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -47962,14 +47962,10 @@ and reproducible way.")
     (build-system r-build-system)
     (arguments
      (list
-      #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'disable-bad-test
-           (lambda _
-             ;; This test fails for unknown reasons.
-             (substitute* "tests/testthat/test-linters.R"
-               ((".*linter warns about absolute paths and relative paths.*" m)
-                (string-append m "skip('skip')\n"))))))))
+      #:skipped-tests
+      '(("test-linters.R"
+         ;; This test fails for unknown reasons.
+         "linter warns about absolute paths and relative paths"))))
     (propagated-inputs
      (list r-cli
            r-curl

Reply via email to