CLI-logging: CLI Logging Features

Description Usage Arguments

Description

The function cli_* wrap calls to the corresponding base functions, to allow automatic formating and redirection.

Usage

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

...

arguments passed to the corresponding base function.

indent

number of indent spaces

item

itemize character to use, e.g., '*' or '-'.

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.


renozao/CLIR documentation built on May 27, 2019, 5:52 a.m.