Nothing
test_that("Tests if fields are consistent", {
mtcars_test <- return_mtcars_testfile()
# Change a fieldname to test if the inconsistency drops an error.
mtcars_test_changed <- mtcars_test %>%
dplyr::rename(geer = gear)
metadata <- get_current_documentation()
warnings_captured <- capture_warnings(assert_field_consistency(mtcars_test_changed, metadata))
expect_true(length(warnings_captured) > 0)
})
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.