Learn R Programming

podcleaner (version 0.1.2)

utils_mute: Mute a function call execution

Description

Executes the function provided while silencing the potential messages related to its execution

Usage

utils_mute(fun, ...)

Arguments

fun

Function to execute as an expression.

...

Argument(s) to be passed to the function above for execution.

Value

Whatever the provided function in fun returns.

Examples

Run this code
# NOT RUN {
  utils_mute(message, "I'm not showing in console")
# }

Run the code above in your browser using DataLab