1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: r-msnbase: Restore tests that failed because of libxml2.

* gnu/packages/bioconductor.scm (r-msnbase)[arguments]: Restore two tests; fix
them by adding 'ensure-libxml2-works phase.

Change-Id: I555f19d5bc749cdd458af4b55a2a5a2e89c7d190
This commit is contained in:
Ricardo Wurmus
2025-11-11 13:04:09 +01:00
parent 36c8e3803d
commit ad2e5277fe

View File

@@ -11666,15 +11666,6 @@ containers.")
(string-append "XML::libxmlFeatures()\n" m)))))
(add-after 'unpack 'delete-bad-tests
(lambda _
;; These tests fail since the upgrade to libxml2 2.14, which
;; removed transparent decompression.
(with-directory-excursion "tests/testthat/"
(substitute* "test_centroided.R"
((".*isCentroidedFromFile.*" m)
(string-append m "skip('guix')\n")))
(substitute* "test_MSnExp.R"
((".*isolation window.*" m)
(string-append m "skip('guix')\n"))))
;; Needs r-prolocdata
(for-each delete-file
'("tests/testthat/test_average.R"