test_that("use", {
experiment <- pirouette::create_test_experiment()
expect_true(is_pff_experiment(experiment))
experiment <- to_pff_experiment(experiment)
expect_true(is_pff_experiment(experiment))
# Individual elements
experiment$errors_filename <- "/tmp/puf.csv" # nolint do use absolute path in tests
expect_false(is_pff_experiment(experiment))
experiment <- to_pff_experiment(experiment)
expect_true(is_pff_experiment(experiment))
# BEAST2 options are converted by to_pff_beast2_options
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.