Duplicates come in two kinds. Exact repeats are the same row twice, usually from an export that ran twice; distinct() removes them. Key duplicates share an id but differ elsewhere, like a customer who signed up twice with different dates. Removing those means choosing which row to keep.
Find them first: count(customer_id) |> filter(n > 1) lists the ids that appear more than once. To keep one row per id, distinct(customer_id, .keep_all = TRUE) keeps the first row it meets. That depends on the order of the table, so sort first, or say which row you want: slice_max(signup_date, n = 1, by = customer_id) keeps the latest.
Always count rows before and after, and check that the number you removed is the number you expected.
Find repeated ids, remove exact repeats, and keep the latest row per id.