A function assertion used to create an error condition on the existence of some items

error_if_items(
  items,
  text,
  error = TRUE,
  and = FALSE,
  or = FALSE,
  quotes = FALSE
)

Arguments

items

A character vector of items

text

A character vector that items may be within

error

Logical, should a stop be called?

and

Logical, passed to collapse_items

or

Logical, passed to collapse_items

quotes

Logical, passed to collapse_items