installpackage.ifneeded.r