context("parse_beast_trees")
test_that("parse_beast_trees: use", {
filename <- system.file(
"extdata", "beast2_example_output.trees", package = "RBeast"
)
posterior <- parse_beast_trees(
filename = filename
)
expect_true(is_trees_posterior(posterior))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.