test_that("load_files", {
files <- ps_load_files(system.file("csv", package = "poisdata"), recursive = TRUE)
expect_identical(sort(files), sort(c(
"mtcars.csv", "sub1/ChickWeight.csv",
"sub1/mtcars.csv"
)))
expect_identical(sort(ls()), sort(c(
"files", "mtcars", "sub1.ChickWeight", "sub1.mtcars"
)))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.