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")

Arguments

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).

Value

None