Reports duplicates in data on columns cols. Duplicates are reported via a warning.

report_duplicates(data, cols, throw_error = TRUE)

Arguments

data

A tibble.

cols

Cols to check for duplicate combinations on.

throw_error

Boolean, if TRUE error is thrown on failures, otherwise a warning.