Favorite ways of dealing with errors


I'm fairly primitive in how I deal with errors (try, tryCatch). Does anyone have any cool and better ways?


Check out Amanda Gadrow's talk from rstudio::conf, definitely has some helpful tips!


The advanced R chapter is useful to understand these

there also a :package: called {attempt} that offer to simplify the way to use error and condition

You may find it useful.


Very similar package from my ex-colleague:


Awesome, thanks guys. Will take a look at all of this.