silent: silent() suppresses and hides other functions messages and...

View source: R/silent.R

silentR Documentation

silent() suppresses and hides other functions messages and warnings. Its ideal use if to wrapped functions within dynamic reports.

Description

silent() suppresses and hides other functions messages and warnings. Its ideal use if to wrapped functions within dynamic reports.

Usage

silent(x)

Arguments

x

a function wrapping its inputs

Value

a the product of the wrapped function without messages and warnings

Examples


table <- items_data %>%
         psych::alpha() %>%
         silent()


dacarras/r4sda documentation built on June 10, 2025, 1:14 a.m.