test_that("A parametrized report is produced", {
output <- render_report(
"ith-report", params = list(i = 9), output_dir = tempfile()
)
expect_true(file.exists(output))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.