check_cols_exist: Check if a set of columns is missing from a data frame. For...

View source: R/internal-check_cols_exist.R

check_cols_existR Documentation

Check if a set of columns is missing from a data frame. For use in aggregate_df.

Description

Check if a set of columns is missing from a data frame. For use in aggregate_df.

Usage

check_cols_exist(cols, df)

Arguments

cols

String or vector of strings that is the name of the columns.

df

Data frame

Value

Nothing. Casts an error message if any of the columns are missing.


MAPCtools documentation built on June 25, 2025, 5:09 p.m.