test_that("delay works", {
r <- replicate(10, {
tictoc::tic()
delay(res = list())
end <- tictoc::toc(quiet = TRUE)
end$toc - end$tic
})
expect_true(max(r) <= 1)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.