test_that("showCommand() works", {
f <- kwb.utils:::showCommand
expect_error(f())
expect_output(f("/path/to/program option1 option2 file"), "Running")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.