Learn R Programming

vvauditor (version 0.7.0)

assertion_message: Assert Message Based on Type

Description

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.

Usage

assertion_message(message, assertion_fail = "stop")

Value

None

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