assert_variables_exist: Assert that all variables exist within a dataset

View source: R/expand.R

assert_variables_existR Documentation

Assert that all variables exist within a dataset

Description

Performs an assertion check to ensure that a vector of variable exists within a data.frame as expected.

Usage

assert_variables_exist(data, vars)

Arguments

data

a data.frame

vars

a character vector of variable names


rbmi documentation built on Nov. 24, 2023, 5:11 p.m.