remove duplicate R extensions