myAssert: Asserts a condition and prints a message or stops the block

View source: R/minitools.R

myAssertR Documentation

Asserts a condition and prints a message or stops the block

Description

Asserts a condition and prints a message or stops the block

Usage

myAssert(condition, message, stop = TRUE)

Arguments

condition:

condition to be tested

message:

message to be printed

stop:

if TRUE stop the block


predomics/predomicspkg documentation built on Dec. 11, 2024, 11:06 a.m.