Nothing
test_that("config_examples returns the correct string", {
example_lines <- system.file("examples",
"config_examples.yml",
package="sqlhelper") |>
readLines()
examples <- stringr::str_c(example_lines,
collapse = "\n")
expect_equal(config_examples(), examples)
config_examples("written.yml")
written_examples <- stringr::str_c(
readLines("written.yml"),
collapse = "\n"
)
file.remove("written.yml")
expect_equal(examples, written_examples)
})
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.