Skip to contents

Require variables in an object

Usage

require_vars(x, vars, warn_only = FALSE)

Arguments

x

object

vars

required variables

warn_only

don't die on missing vars

Value

the original tibble if all vars are present or warning only