assertion_message: Assert Message Based on Type

View source: R/assert_message.R

assertion_messageR Documentation

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

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


vvauditor documentation built on May 29, 2024, 12:20 p.m.