
Check if rules are categorical
is_categorical(x, ...)
logical indicating which rules are purely categorical/logical
validator or expression object
not used
#' @note errorlocate
supports linear,
categorical and conditional rules to be used in finding errors. Other rule types
are ignored during error finding.
Other rule type:
is_conditional()
,
is_linear()
v <- validator( A %in% c("a1", "a2")
, B %in% c("b1", "b2")
, if (A == "a1") B == "b1"
, y > x
)
is_categorical(v)
Run the code above in your browser using DataLab