I'm fairly primitive in how I deal with errors (try, tryCatch). Does anyone have any cool and better ways?
try
tryCatch
Check out Amanda Gadrow's talk from rstudio::conf, definitely has some helpful tips! https://www.rstudio.com/resources/videos/debugging-techniques-in-rstudio/
The advanced R chapter is useful to understand these http://adv-r.had.co.nz/Exceptions-Debugging.html
there also a 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.