gnu: r-latex2exp: Skip bad test.

* gnu/packages/cran.scm (r-latex2exp)[arguments]: Add phase 'disable-bad-test.

Change-Id: I8cd2d0428d3434866185f8d1f5e6cfc1f2e93981
This commit is contained in:
Ricardo Wurmus 2025-11-27 12:50:43 +01:00
parent c2b7144a80
commit 7ef8abcf75
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -47145,6 +47145,16 @@ appropriate dog and cat images for many status codes.")
(base32
"1jp0l0hi5kv4yh28qg2yj2z5fj33gnfvdz2g2v4ibn516fj2d636"))))
(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"))))))))
(propagated-inputs
(list r-magrittr r-stringr))
(native-inputs