Skip to contents

Validates that a data.frame contains all specified columns. Equivalent to require_names(cols, mode = "superset") with column wording in the message.

Usage

require_has_cols(restriction, cols)

Arguments

restriction

a restriction object.

cols

character vector of required column names.

Value

The modified restriction object.