File: ui_silence.Rd

package info (click to toggle)
r-cran-usethis 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,228 kB
  • sloc: sh: 26; makefile: 17; cpp: 6; ansic: 3
file content (25 lines) | stat: -rw-r--r-- 512 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-ui.R
\name{ui_silence}
\alias{ui_silence}
\title{Suppress usethis's messaging}
\usage{
ui_silence(code)
}
\arguments{
\item{code}{Code to execute with usual UI output silenced.}
}
\value{
Whatever \code{code} returns.
}
\description{
Execute a bit of code without usethis's normal messaging.
}
\examples{
# compare the messaging you see from this:
browse_github("usethis")
# vs. this:
ui_silence(
  browse_github("usethis")
)
}