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

commit 5192b28a489bceeab3db85b885f6f5c514e28506
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 17:15:32 2026 +0100

    gnu: r-bindr: Replace custom phase with #:skipped-tests.
    
    * gnu/packages/cran.scm (r-bindr)[arguments]: Remove phase
    'testthat-compatibility; provide #:skipped-tests argument.
    
    Change-Id: I478791ae7ec8c75f48846a1efe547db6a0de4387
---
 gnu/packages/cran.scm | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 642eed77c9..7c80967136 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17544,15 +17544,11 @@ functions subject to simple constraints.")
     (build-system r-build-system)
     (arguments
      (list
-      #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'testthat-compatibility
-           (lambda _
-             ;; This test uses the procedure "with_mock", which has been
-             ;; removed from testthat.
-             (substitute* "tests/testthat/test-error.R"
-               ((".*non-native encoding causes warning.*" m)
-                (string-append m "skip('skip');\n"))))))))
+      #:skipped-tests
+      ;; This test uses the procedure "with_mock", which has been
+      ;; removed from testthat.
+      '(("test-error.R"
+         "non-native encoding causes warning"))))
     (native-inputs (list r-testthat))
     (home-page "https://github.com/krlmlr/bindr";)
     (synopsis "Parametrized active bindings")

Reply via email to