gnu: r-rvenn: Skip four tests.

* gnu/packages/cran.scm (r-rvenn)[arguments]: Add phase 'skip-bad-tests.

Change-Id: I5885179790b4a151360f45de83e4e18feccf6267
This commit is contained in:
Ricardo Wurmus 2025-11-26 12:34:34 +01:00
parent d5ff1cf682
commit a4543d40cc
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -7599,6 +7599,18 @@ intersections.")
"016m00xv59lkwm2is32v5nr4lw5a1ymdnz34r3ffflcv9bfrc6n4"))))
(properties `((upstream-name . "RVenn")))
(build-system r-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'skip-bad-tests
(lambda _
;; These tests fail because "class" returns 5 instead of 2 elements.
(substitute* "tests/testthat/test_ggvenn.R"
((".*ggvenn: slices.*" m)
(string-append m "skip('skip');\n"))
((".*ggvenn: plot for 2 and 3 sets.*" m)
(string-append m "skip('skip');\n"))))))))
(propagated-inputs
(list r-ggforce
r-ggplot2