Learn R Programming

evolution (version 0.1.0)

.assert_scalar_string: Assert that a value is a single non-empty string

Description

Assert that a value is a single non-empty string

Usage

.assert_scalar_string(x, name)

Arguments

x

Value to check.

name

Argument name for the error message.