testthat::context('Testing foobar')
setwd(here::here('')) # workspace is reset per file
testthat::test_that('something', {
testthat::expect_identical(1L, 1L);
testthat::expect_true(T);
});
if (tolower(Sys.getenv('CI')) != 'true') {
} else {
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.