Learn R Programming

podcleaner (version 0.1.2)

utils_execute: Execute function

Description

Executes the function provided. Execution can be silenced via the verbose parameter.

Usage

utils_execute(verbose, fun, ...)

Arguments

verbose

Boolean specifying whether to silence the function execution (FALSE) or not (TRUE).

fun

Function to execute provided as an expression.

...

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

Value

Whatever the provided function returns.

Examples

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

Run the code above in your browser using DataLab