context("test-dir")
test_that("finds requirements from files", {
expect_equal(
req_dir(test_path("dir-simple")),
c("dplyr", "ggplot2", "rmarkdown")
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.