tests/testthat/test-ReadMrBayes.R

test_that("ReadMrBayes() fails gracefully", {
  expect_error(MrBayesTrees("notA-file", burninFrac = 1),
               "Cannot find notA-file\\.run1")
})

Try the TreeTools package in your browser

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

TreeTools documentation built on June 22, 2024, 9:27 a.m.