tests/testthat/test-ReadMrBayes.R

test_that("ReadMrBayes() fails gracefully", {
  expect_error(MrBayesTrees("notA-file", burninFrac = 1),
               "Cannot find notA-file\\.run1")
})
ms609/TreeTools documentation built on April 12, 2025, 4:51 p.m.