Skip to content

Commit

Permalink
phangorn required
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Aug 22, 2024
1 parent 4feda76 commit 5bd19a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-tree_distance.R
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,7 @@ test_that("Jaccard RF is correctly calculated", {
})

test_that("RobinsonFoulds() is correctly calculated", {
skip_if_not_installed("phangorn")
RF <- function(tree1, tree2) {
suppressMessages(phangorn::RF.dist(reorder(tree1, "cladewise"),
reorder(tree2, "cladewise")))
Expand Down

0 comments on commit 5bd19a3

Please sign in to comment.