FM_message | R Documentation |
Writes a message to the console depending on whether cli is installed or not.
FM_message(line, escape_braces = TRUE, entry_type = "alert")
line |
Text to display |
escape_braces |
Set to |
entry_type |
Set to either "alert"(default), "danger", "info", "success", "warning", "h1", "h2", or "h3" |
Returns NULL
mr = FM_message("This is a normal message")
mr = FM_message("This is a danger message", entry_type="danger")
mr = FM_message("This is a info message", entry_type="info")
mr = FM_message("This is a success message", entry_type="success")
mr = FM_message("This is a warning message", entry_type="warning")
mr = FM_message("This is an H1 header", entry_type="h1")
mr = FM_message("This is an H2 header", entry_type="h2")
mr = FM_message("This is an H3 header", entry_type="h3")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.