Nothing
test_that("rd_templates works", {
pkg_objects <- ls(base::getNamespace(testthat::testing_package()))
rd_objects <- purrr::keep(pkg_objects, ~ startsWith(., "rd_"))
rd_functions <- rd_objects[purrr::map_lgl(rd_objects, ~ rlang::is_function(get(.)))]
for (rd_fun in rd_functions) {
if (!("type" %in% names(formals(rd_fun)))) next
for (type in c("field", "param")) {
str <- expect_no_condition(do.call(rd_fun, args = list(type = type)))
checkmate::expect_character(str)
}
}
})
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.