assert_scalar_not_empty: Assert x is a scalar, and not empty in some way

View source: R/assertions.R

assert_scalar_not_emptyR Documentation

Assert x is a scalar, and not empty in some way

Description

Assert x is a scalar, and not empty in some way

Usage

assert_scalar_not_empty(x)

Arguments

x

[any] some object to check

Value

[none] stop if assertion fails

See Also

Other assertions: assert_dir_exists(), assert_named_list(), assert_scalar(), assert_type()


vmTools documentation built on Aug. 8, 2025, 7:28 p.m.