Build a bit flag by checking for cases

bf_case(x, ..., exclusive = TRUE)

Arguments

x

data.frame(1)
the table that contains tests defined in ....

...


any set of (mutually exclusive) statements that results in a logical return value

exclusive

logical(1)
whether the function should check that the cases are mutually exclusive, or whether it would allow that cases defined later in the sequence overwrite cases earlier in the sequence.