testthat::context("Just simple tryout")
testthat::test_that("Just trying a simple convert", {
file = system.file("img", "Rlogo.png", package = "png")
if (file.exists(file)) {
res = bfconvert(file = file)
testthat::expect_true(file.exists(res))
}
testthat::expect_true(file.exists(bf_cmd("bfconvert")))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.