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")
)

r-lib/usethis documentation built on Nov. 28, 2024, 7:11 a.m.