test_that("plot_biggest_folders() works", {
f <- kwb.fakin:::plot_biggest_folders
expect_error(f())
paths <- dir(
system.file(package = "kwb.fakin"), full.names = TRUE, recursive = TRUE
)
capture.output(tree <- kwb.fakin:::to_tree(x = paths))
f(tree, to_pdf = FALSE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.