50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


fabR (version 2.1.0)

silently_run: Shortcut to silently run a code chunk avoiding error, messages and warnings

Description

Shortcut avoiding user to get messages, warnings and being stopped by an error. The usage is very similar to suppressWarnings(). This function is targeted for function creators where user experience enhancement is sought.

Usage

silently_run(...)

Value

The output of the R code, unless the output is a message, a warning or an error, nothing will be returned in that case.

Arguments

...

R code

See Also

Examples

Run this code
{

as.integer("text")
silently_run(as.integer("text"))

}

Run the code above in your browser using DataLab