test_that("a string is returned", {
expect_true(is.character(show_dependencies("divdyn")))
})
test_that("a vector is returned", {
expect_true(is.vector(show_dependencies("divdyn")))
})
test_that("no matching tutorial warning is returned", {
expect_match(show_dependencies("empty"), "No tutorial found with name: empty")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.