quietly_run | R Documentation |
This function is a wrapper that allows a function to be run quietly without the need to create a separate quiet function.
quietly_run(func, ...)
func |
The function to be run. |
... |
Optional further arguments passed to the 'func' function. |
The list result of the 'func' function with messages, warnings, and output captured.
warning_func_arugment <- function(info) {
warning(info)
return("Complete")
}
result <- quietly_run(warning_func_arugment, "Just checking")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.