Skip to contents

When used inside the validation_expr of a validated_reactive_val(), this function acts as a pronoun to access the current value (before validation) of that validated_reactive_val. This allows the validation expression to reconcile the object's current state with its reactive dependencies.

Usage

.vrv(env = rlang::caller_env())

Arguments

env

(environment) The environment in which to find the .vrv pronoun. This should generally not be changed from the default of rlang::caller_env().

Value

The current value of the validated_reactive_val().

Details

To reference .vrv() in a package and avoid R CMD check notes, you can either import this function with #' @importFrom shinybatch .vrv or call it with the shinybatch::.vrv() namespace.