From fc5efc9ec5bb2b01b04715033ecdda92f50a7a51 Mon Sep 17 00:00:00 2001 From: "Martin R. Smith" <1695515+ms609@users.noreply.github.com> Date: Thu, 22 Aug 2024 15:33:09 +0100 Subject: [PATCH] phangorn required --- tests/testthat/test-tree_distance.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testthat/test-tree_distance.R b/tests/testthat/test-tree_distance.R index 6f916d2f..f08f6de5 100644 --- a/tests/testthat/test-tree_distance.R +++ b/tests/testthat/test-tree_distance.R @@ -777,6 +777,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")))