guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 1b17e46a9b7c225a75b623890057d6f5f8ca3e5c
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Fri Feb 20 14:10:53 2026 +0100
gnu: r-voltron: Skip bad tests.
* gnu/packages/bioinformatics.scm (r-voltron)[arguments]: Add phase
'skip-bad-tests.
Change-Id: I51b33fd613f9eb744b4fd51400cad55e5b2c65ef
---
gnu/packages/bioinformatics.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9623dd6d4b..ad15af0af2 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -22980,6 +22980,14 @@ patterns.")
(string-append
"source(paste0(system.file(package=\"VoltRon\"),
\"/guix-refs.R\"));\n"
"return(guix_python);")))))
+ (add-after 'unpack 'skip-bad-tests
+ (lambda _
+ (with-directory-excursion "tests/testthat"
+ (substitute* "test_conversion.R"
+ ((".*as.AnnData, python path.*" m)
+ (string-append m "skip('skip');\n"))
+ ((".*as.ometiff, python path.*" m)
+ (string-append m "skip('skip');\n"))))))
;; We do this outside of the source code to ensure that
;; references are accessible to Guix.
(add-after 'install 'record-python-reference