Run on a compiled database, this cannot see rows that are identical in every column, because traits.use::bind_databases() drops them (with a warning naming the dataset, from traits.use 0.1.1). To find the rows behind a dataset_test() pivot failure, use dataset_find_pivot_duplicates().

check_pivot_duplicates(
  database_object,
  dataset_ids = unique(database_object$traits$dataset_id)
)

Arguments

database_object

Database object

dataset_ids

dataset_id's to check for duplicates; default is all of them

Value

Tibble with duplicates and pivot columns