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

commit 657683793ca8019fc0f53bbe45593b76f37e5a9b
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 17:18:43 2026 +0100

    gnu: r-proxyc: Replace custom phase with #:skipped-tests.
    
    * gnu/packages/cran.scm (r-proxyc)[arguments]: Remove phase
    'patch-bad-tests; provide #:skipped-tests argument.
    
    Change-Id: Ic4543f7393b0479415a1e16d1e4f33c813fd3b0b
---
 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 8757c72870..bed3f96b37 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -46866,15 +46866,11 @@ well as extracting and replacing names and symbols 
from these objects.")
     (build-system r-build-system)
     (arguments
      (list
-      #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'patch-bad-tests
-           (lambda _
-             ;; Two tests produce harmless warnings.
-             (substitute* '("tests/testthat/test-dist.R"
-                            "tests/testthat/test-simil.R")
-               ((".*use_nan is working.*" m)
-                (string-append m "skip('skip');\n"))))))))
+      #:skipped-tests
+      '(("test-dist.R"
+         "use_nan is working")
+        ("test-simil.R"
+         "use_nan is working"))))
     (native-inputs (list r-entropy r-knitr r-proxy r-testthat))
     (inputs (list onetbb))
     (propagated-inputs

Reply via email to