Usage
check_reactive(x)
assert_reactive(x, .var.name = checkmate::vname(x), add = NULL)
test_reactive(x)
Arguments
- x
an object to check.
- .var.name
(
string
)
name of the checked object to print in assertions; defaults to the heuristic implemented incheckmate::vname()
.- add
(
AssertCollection
orNULL
)
collection to store assertion messages, seecheckmate::AssertCollection
.
See also
assertions
for more details.
Examples
check_reactive("bla")
#> [1] FALSE
check_reactive(reactive("bla"))
#> [1] TRUE