#> author: [akash]
test_that("catalogr", {
expect_equal(
catalogr("testdir", write_yaml = FALSE),
list(`testdir/example_catalogr.R` = list(list(
label = "Author", value = "akash"
), list(
label = "Description",
value = "This is a test file"
)), `testdir/example_load_data.R` = list(
list(label = "authors", value = c("\"akash\"", "\"Sam\"")),
list(label = "database", value = c("\"staging\"", "\"live\""))
))
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.