test_that("use", {
expect_true(is_bin_path("beast"))
expect_true(is_bin_path("BEAST.exe"))
expect_true(is_bin_path("/path with spaces/another one/beast"))
expect_false(is_bin_path("beast.exe"))
expect_false(is_bin_path("launcher.jar"))
expect_true(is_bin_path(get_default_beast2_bin_path()))
expect_false(is_bin_path(get_default_beast2_jar_path()))
expect_false(is_bin_path("nonsense"))
expect_false(is_bin_path(NA))
expect_false(is_bin_path(NULL))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.