silencio: Keep silent by suppressing warnings and messages

Description Usage Arguments Value Author(s) See Also Examples

View source: R/silencio.R

Description

The function is used to keep the command silent by suppressing warnings and messages

Usage

1

Arguments

...

Any function call

Value

The same as the function call

Author(s)

Jitao David Zhang <jitao_david.zhang@roche.com>

See Also

suppressWarnings, suppressMessages

Examples

1
2
wsqrt <- function(x) {warning("Beep");message("Calculating square");return(x^2)}
silencio(wsqrt(3))

ribiosUtils documentation built on March 13, 2020, 2:54 a.m.