minor R packaging fixes