View source: R/assert_message.R
assertion_message | R Documentation |
This function asserts a message based on the type specified. It can either push the message to an AssertCollection, print a warning, or stop execution with an error message.
assertion_message(message, assertion_fail = "stop")
message |
A character string representing the message to be asserted. |
assertion_fail |
A character string indicating the action to take if the assertion fails. Can be an AssertCollection, "warning", or "stop" (default). |
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.