Raise shiny validate error if variable is not of a certain class
chunks_validate_is.Rd
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, ifNULL
then default error message is used- chunks
optional, (
chunks
) object. If not provided then automaticchunks
object detection is run via get_chunks_object