The function cli_*
wrap calls to the corresponding
base functions, to allow automatic formating and redirection.
1 2 3 4 5 6 7 8 9 | cli_stop(...)
cli_warning(...)
cli_smessage(..., indent = 0L, item = NULL, appendLF = FALSE)
cli_log(..., appendLF = TRUE, extfile = NULL)
cli_message(..., item = "", appendLF = TRUE)
|
... |
arguments passed to the corresponding base function. |
indent |
number of indent spaces |
item |
itemize character to use, e.g., |
appendLF |
logical: should messages given as a character string have a newline appended? |
extfile |
external log file where to save log messages. Note that messages are still shown in stderr. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.