stfu: S.T.F.U.: Stop Text From turning Up

View source: R/misc-utils.R

stfuR Documentation

S.T.F.U.: Stop Text From turning Up

Description

S.T.F.U.: Stop Text From turning Up

Usage

stfu(expr)

Arguments

expr

expression to evaluate in silence.

Value

Returns invisibly the result of expr.

Warning

Make sure to call this function always directly on the expression and never indirectly e.g. via pipes. Example: stfu(expr) is correct, but expr %>% stfu will not hide the output. However, the expr argument itself may contain pipes.

Examples

stfu(print("hi"))

hgutils documentation built on March 31, 2022, 5:06 p.m.