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

commit 6a812e51b449bc4fdb14dca7221ca689449c57ad
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 21:10:01 2026 +0100

    gnu: r-latex2exp: Replace custom phase with #:skipped-tests.
    
    * gnu/packages/cran.scm (r-latex2exp)[arguments]: Remove phase
    'disable-bad-test; provide #:skipped-tests argument.
    
    Change-Id: I53d97088580d22cccd22ce1337daf759b287caab
---
 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 ae33e95b02..348812abda 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -48684,14 +48684,10 @@ appropriate dog and cat images for many status 
codes.")
     (build-system r-build-system)
     (arguments
      (list
-      #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'disable-bad-test
-           (lambda _
-             ;; This test produces warnings.
-             (substitute* "tests/testthat/test_simple.R"
-               ((".*Escaped symbols renders correctly.*" m)
-                (string-append m "skip('skip')\n"))))))))
+      #:skipped-tests
+      '(("test_simple.R"
+         ;; This test produces warnings.
+         "Escaped symbols renders correctly"))))
     (native-inputs
      (list r-knitr r-rlang r-testthat r-waldo))
     (home-page "https://github.com/stefano-meschiari/latex2exp/";)

Reply via email to