Learn R Programming

usethis (version 3.0.0)

ui_silence: Suppress usethis's messaging

Description

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

Usage

ui_silence(code)

Value

Whatever code returns.

Arguments

code

Code to execute with usual UI output silenced.

Examples

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

Run the code above in your browser using DataLab