Handling error in R can easily be done with debugger or by activating error options with recover. options(error = recover) Or to activate warning as error with: options(warn = 2) Nevertheless this blog post explain nicely other alternative including the code below that you can put in your .
Read More