Skip to contents

[Stable]

Usage

chunks_validate_is(var, class, msg = NULL, chunks = get_chunks_object())

Arguments

var

(character) variable name

class

(character) class name

msg

optional, (character) custom error message, if NULL then default error message is used

chunks

optional, (chunks) object. If not provided then automatic chunks object detection is run via get_chunks_object

Value

shiny validation error if variable is not of certain class