None of x are in y

assert_not_in(
  x,
  y,
  message = "none of %s can be in %s",
  name_x = deparse(substitute(x)),
  name_y = nice_format(y)
)

Arguments

x

Value(s) to check are not in y

y

Set of values x must not be in

message

Message to output if some of x are in y

name_x

Name of x

name_y

Name of y

Details

None of x are in y