checkargFailedHandler {checkarg}R Documentation

Helper function for the checkarg function, called in cases the argument does not pass the check. Throws an exception if stopIfNot is TRUE.

Description

Helper function for the checkarg function, called in cases the argument does not pass the check. Throws an exception if stopIfNot is TRUE.

Usage

checkargFailedHandler(default, stopIfNot, messagePattern, argumentName)

Arguments

default

See checkarg function.

stopIfNot

See checkarg function.

messagePattern

See checkarg function.

argumentName

See checkarg function.

Value

FALSE.


[Package checkarg version 0.1.0 Index]