Check if there is any duplicate rows indexed by given columns. If YES, it will give warning.
CheckDuplicateRow(.data, .vars)
| .data | A data.frame.  | 
    
|---|---|
| .vars | Names of Columns to group by. If missing, use the first column name.  | 
    
TRUE if there exists duplicate rows, otherwise FALSE.
#> Warning: df has duplicate Id.#> [1] TRUE#> [1] FALSE