character_scalar: Non-empty character scalar S7 property

character_scalarR Documentation

Non-empty character scalar S7 property

Description

S7 property accepting a single non-NA, non-empty (after trimming whitespace) string.

Usage

character_scalar

Value

An S7 property object.

Author(s)

EDG

Examples

Model <- S7::new_class("Model", properties = list(algorithm = character_scalar))
Model(algorithm = "LightGBM")@algorithm
try(Model(algorithm = ""))

rtemis.core documentation built on Sept. 20, 2026, 9:06 a.m.