Report question

Question: R, conditionally remove duplicate rows