Skip to contents

[Stable]

Usage

chunks_validate_custom(x, msg = NULL, chunks = get_chunks_object())

Arguments

x

(language) an expression that evaluates to TRUE or FALSE inside chunks environment

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 x evaluates to FALSE in chunks environment