powered by
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, ...)
The list result of the 'func' function with messages, warnings, and output captured.
The function to be run.
Optional further arguments passed to the 'func' function.
warning_func_arugment <- function(info) { warning(info) return("Complete") } result <- quietly_run(warning_func_arugment, "Just checking")
Run the code above in your browser using DataLab