Internal helper function designed to ensure that id columns are not passed as factor variables. Factor variables in id columns may cause undesired behaviour with the drop_empty_group argument.

check_id_vars(df)

Arguments

df

An input data.frame.

Value

The input data.frame df with the id columns being no longer factor variables.