utils_execute: Execute function

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
3
4
## Not run: 
  utils_execute(TRUE, message, "I'm showing in console")

## End(Not run)

podcleaner documentation built on Jan. 12, 2022, 1:06 a.m.