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)
Merge pull request #4 from cboettig/master

Option to allow install2.r to error if package installation fails