msgInfo | R Documentation |
Convenient wrappers around message()
to sent styled notices to the user
while a function/script is being executed.
msgInfo(..., appendLF = TRUE) msgError(..., appendLF = TRUE) msgSuccess(..., appendLF = TRUE) msgWarning(..., appendLF = TRUE)
... |
text to be passed to |
appendLF |
a logical. Should messages given as a character string have a new line appended ? |
Reports an info.
msgError()
: Reports an Error.
msgSuccess()
: Reports a success.
msgWarning()
: Reports a warning.
All of these functions call message()
, so for any function FUN()
using #' them, suppressMessages(FUN())
is sufficient to mute all messages.
cli::symbol()
message()
msgInfo("computing") msgSuccess("done") msgError("you got it wrong") msgWarning("be careful")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.