installed_pkgs <- c("testthat", "fmgr")
test_that("check inputs", {
expect_error(install_needed_packages(1))
expect_error(install_needed_packages(installed_pkgs, "high"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.