The empty_remove argument is a no-op due to variable shadowing; the cleaned table is computed but never used.
Selecting rows up to "total" / "cpa_total" can return zero rows if the label isn’t present.
Minor consistency items (defaults, naming, tidyselect).
This issue tracks the small fixes + tests to make behavior explicit and robust.