Merging rows according to several matching columns

We need reproducible example (reprex) or at least some usable data.