| abort | R Documentation |
Signal an error, warning, or message with cli formatting
abort(x, call = TRUE)
inform(x)
warn(x)
x |
|
call |
|
Console output, with invisible return of x input.
Updated 2023-02-08.
cli::cli_abort().
cli::cli_inform().
cli::cli_warn().
simpleCondition().
simpleError().
simpleWarning().
simpleMessage().
x <- "hello world"
try({
abort(x)
})
try({
warn(x)
})
inform(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.