cli_par {cliapp} | R Documentation |
CLI paragraph
Description
See containers.
Usage
cli_par(id = NULL, class = NULL, .auto_close = TRUE, .envir = parent.frame())
Arguments
id |
Element id, a string. If |
class |
Class name, sting. Can be used in themes. |
.auto_close |
Whether to close the container, when the calling
function finishes (or |
.envir |
Environment to evaluate the glue expressions in. It is
also used to auto-close the container if |
Value
The id of the new container element, invisibly.
Examples
id <- cli_par()
cli_text("First paragraph")
cli_end(id)
id <- cli_par()
cli_text("Second paragraph")
cli_end(id)
[Package cliapp version 0.1.2 Index]