Update install-min.r

pkg$name field should be pkg$package.
Otherwise file.path is NULL