gnu: r-treeio: Add missing inputs.

* gnu/packages/bioconductor.scm (r-treeio)[native-inputs]: Add r-igraph and
r-xml2.
[arguments]: Add phase 'delete-bad-tests.

Change-Id: I0c5e8ef566acbc8593c6c27a6cc7776778937876
This commit is contained in:
Ricardo Wurmus 2024-11-26 12:48:45 +01:00
parent 1f0808a5c1
commit c2aab92f42
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -15068,6 +15068,18 @@ (define-public r-treeio
"0x1fd3422icp56ac01dn5nk5y04724sv80pb24fd993d426jj1xj"))))
(properties `((upstream-name . "treeio")))
(build-system r-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'delete-bad-tests
(lambda _
;; Some tests need r-ggtree, which depends on this package.
(for-each delete-file
'("tests/testthat/test-conversion.R"
"tests/testthat/test-merge-tree.R"
"tests/testthat/test-tree-subset.R"
"tests/testthat/test-treedata-accessor.R")))))))
(propagated-inputs
(list r-ape
r-dplyr
@ -15077,7 +15089,7 @@ (define-public r-treeio
r-tibble
r-tidytree
r-yulab-utils))
(native-inputs (list r-knitr r-testthat))
(native-inputs (list r-igraph r-knitr r-testthat r-xml2))
(home-page "https://github.com/YuLab-SMU/treeio")
(synopsis "Base classes and functions for Phylogenetic tree input and output")
(description