validate: Validate a Condition

View source: R/assert.R

validateR Documentation

Validate a Condition

Description

Validate a Condition

Usage

validate(expr)

Arguments

expr

An object to be evaluated.

Value

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

Author(s)

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


tesselle/arkhe documentation built on Feb. 22, 2024, 8:18 p.m.