context("dependencies")
test_that("dependency expectation", {
my_div <- htmltools::attachDependencies(div(), dep_yonder())
expect_silent(
expect_dependencies(my_div)
)
expect_error(
expect_dependencies(div())
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.