1
0
forked from tribes/guix

gnu: r-data-tree: Replace custom phase with #:skipped-tests.

* gnu/packages/cran.scm (r-data-tree)[arguments]: Remove phase
'disable-bad-tests; provide #:skipped-tests argument.

Change-Id: Ie862d05fb5554c82fe4a530a3cd9112ab79add91
This commit is contained in:
Ricardo Wurmus
2026-02-18 17:15:55 +01:00
committed by Andreas Enge
parent 5574c903f4
commit aa23a17d10
+5 -9
View File
@@ -26192,15 +26192,11 @@ JavaScript library) and interact with the igraph package.")
(build-system r-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'disable-bad-tests
(lambda _
;; This test requires DiagrammeR, which we cannot add to Guix
;; because of massive amounts of minified JavaScript.
(substitute* "tests/testthat/test-draw.R"
((".*grViz names with quotes.*" m)
(string-append m "skip('skip');\n"))))))))
#:skipped-tests
;; This test requires DiagrammeR, which we cannot add to Guix
;; because of massive amounts of minified JavaScript.
'(("test-draw.R"
"grViz names with quotes"))))
(propagated-inputs
(list r-r6 r-stringi))
(native-inputs