Learn R Programming

arkhe (version 1.7.0)

validate: Validate a Condition

Description

Validate a Condition

Usage

validate(expr)

Value

Returns NULL on success, otherwise returns the error as a string.

Arguments

expr

An object to be evaluated.

Author

N. Frerebeau

See Also

Other validation methods: assert_constant(), assert_data, assert_length(), assert_lower(), assert_names(), assert_numeric, assert_package(), assert_square(), assert_type()