1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 22:50:34 +02:00

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
This commit is contained in:
Ricardo Wurmus
2026-02-18 21:10:01 +01:00
committed by Andreas Enge
parent b037d56288
commit 22b59fbb0e

View File

@@ -48731,14 +48731,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/")