Skip to contents

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