r packages module clean up