Checks that the combination of specified columns has unique values. This is a point-in-time assertion that either passes silently or fails.
Examples
df <- data.frame(id = 1:3, x = c("a", "b", "c"))
assume_unique(df, id)
# Fails with warning
df2 <- data.frame(id = c(1, 1, 2), x = c("a", "b", "c"))
assume_unique(df2, id)