An auxiliary function that checks for duplicates in the data.table (or its subset)
Examples
dt <- data.table::data.table(a = c(1, 2, 3), b = c(3, 2, 2))
has_dt_duplicated_rows(dt, "b")
#> [1] TRUE
An auxiliary function that checks for duplicates in the data.table (or its subset)
dt <- data.table::data.table(a = c(1, 2, 3), b = c(3, 2, 2))
has_dt_duplicated_rows(dt, "b")
#> [1] TRUE