ui_silence: Suppress usethis's messaging

View source: R/utils-ui.R

ui_silenceR Documentation

Suppress usethis's messaging

Description

Execute a bit of code without usethis's normal messaging.

Usage

ui_silence(code)

Arguments

code

Code to execute with usual UI output silenced.

Value

Whatever code returns.

Examples

# compare the messaging you see from this:
browse_github("usethis")
# vs. this:
ui_silence(
  browse_github("usethis")
)

usethis documentation built on Sept. 11, 2024, 5:29 p.m.