Skip to contents

Warn if a column already exists in a data.frame

Usage

.stopIfColExists(df, new_col)

Arguments

df

A data.frame or tibble

new_col

character(n) Name of a column(s) to add to df