testthat::test_that("tdt works", {
tdt_res <- tdt(data.frame(x = 2))
testthat::expect_true(data.table::is.data.table(tdt_res))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.