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

commit 6cf9604b1a435d257f26d140ea6c29d8d75d4c01
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 10:07:35 2026 +0100

    gnu: r-readr: Replace custom phase with #:skipped-tests.
    
    * gnu/packages/cran.scm (r-readr)[arguments]: Remove phase
    'disable-bad-tests; provide #:skipped-tests argument.
    
    Change-Id: Ifd97b884fee6d4b210b2e890e2002241b6cae8c3
---
 gnu/packages/cran.scm | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9b8c185251..adeeebcbfa 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6788,14 +6788,12 @@ ldap, and also supports cookies, redirects, 
authentication, etc.")
      '((updater-extra-native-inputs . ("r-stringi"))))
     (arguments
      (list
+      #:skipped-tests
+      ;; XXX This fails with the latest update to vroom.
+      '(("test-write.R"
+         "Can change the escape behavior for quotes"))
       #:phases
       '(modify-phases %standard-phases
-         (add-after 'unpack 'disable-bad-tests
-           (lambda _
-             ;; XXX This fails with the latest update to vroom.
-             (substitute* "tests/testthat/test-write.R"
-               ((".*Can change the escape behavior for quotes.*" m)
-                (string-append m "skip('skip');\n")))))
          (add-before 'check 'set-timezone
            (lambda* (#:key inputs #:allow-other-keys)
              ;; Two tests would fail without this.

Reply via email to