Learn R Programming

rtables (version 0.4.0)

is_rcell_format: Check if a format is a valid rcell format

Description

Check if a format is a valid rcell format

Usage

is_rcell_format(x, stop_otherwise = FALSE)

Arguments

x

either format string or an object returned by sprintf_format

stop_otherwise

logical, if x is not a format should an error be thrown

Value

TRUE if x is NULL, a supported format string, or a function; FALSE otherwise.