Nothing
test_that("read_file - invalid args", {
expect_error(read_file(list()), "Invalid arguments for ReadFile")
})
test_that("read_file", {
mock_file <- tempfile()
writeLines("MOCK_CONTENT", mock_file)
expect_equal(
read_file(list(filepath = mock_file)),
list(filepath = mock_file, content = "MOCK_CONTENT")
)
})
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.