assert_empty: Check Object Filling

View source: R/assert.R

assert_emptyR Documentation

Check Object Filling

Description

Checks if an object is (not) empty.

Usage

assert_empty(x)

assert_filled(x)

Arguments

x

An object to be checked.

Value

Throws an error, if any, and returns x invisibly otherwise.

Author(s)

N. Frerebeau

See Also

Other checking methods: assert_constant(), assert_dim(), assert_infinite(), assert_length(), assert_lower(), assert_missing(), assert_names(), assert_numeric, assert_package(), assert_square(), assert_type(), assert_unique()


tesselle/arkhe documentation built on Feb. 1, 2025, 9:24 a.m.