Learn R Programming

vmTools (version 1.0.1)

validate_not_empty: Validate an object is not length 0, empty, blank etc.

Description

Designed to also catch missing args when called inside a function.

Usage

validate_not_empty(x)

Value

[lgl] FALSE if empty in some way, TRUE otherwise

Arguments

x

[any] some argument to check

See Also

Other validations: is_an_error(), validate_dir_exists()