Skip to contents

assert choices

Usage

assert_choices(x, choices, ...)

Arguments

x

charvec expected subset

choices

charvec reference set

...

Additional arguments to pass to checkmate::test_choice

Value

NULL

Examples

assert_choices("x", c("x","y"))