Option to allow install2.r to error if package installation throws a warning
(warnings usually correspond to non-zero exit status of package installation, implying package could not be installed)