Nothing
options(usethis.quiet = TRUE)
# TEST setup_readme ------------------------------------------------------------
test_that("setup_readme throws a warning when no tidy dataset available in data/", {
create_local_package()
rlang::local_interactive(FALSE)
expect_warning(setup_readme())
})
test_that("setup_readme runs when there is data objects", {
create_local_package()
rlang::local_interactive(FALSE)
d1 <- data.frame(id = 1:3, name = c("A", "B", "C"))
usethis::use_data(d1)
expect_no_error(setup_readme())
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.