tests/testthat/test-TreeSearch_utilities.R

test_that("EmptyDataset()", {
  tree <- TreeTools::PectinateTree(8)
  ret <- EmptyPhyDat(tree)
  expect_equal(TipLabels(tree), names(ret))
  expect_true(inherits(ret, 'phyDat'))
})

Try the TreeSearch package in your browser

Any scripts or data that you put into this service are public.

TreeSearch documentation built on Aug. 26, 2023, 9:06 a.m.