Nothing
test_that("quietly_run suppresses warnings", {
warning_func_arugment <- function(info) {
warning(info)
return("Complete")
}
expect_warning(warning_func_arugment("Just checking"))
result <- quietly_run(warning_func_arugment, "Just checking")
expect_silent(result)
})
test_that("quietly_run suppresses errors", {
message_func_no_argument <- function() {
warning("Error!")
}
expect_warning(message_func_no_argument())
result <- quietly_run(message_func_no_argument)
expect_silent(result)
})
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.