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

Failing package installations only throw a warning in R.  Solution treats warnings as errors.  Solution based on http://stackoverflow.com/questions/26244530 to address issue reported in  https://github.com/eddelbuettel/rocker/issues/24