test_that("glob", {
path <- file.path(".", "*.{R,r,S,s}")
expect_equal(basename(glob(path, engine = "r")),
c("test_expand.R", "test_glob.R"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.