rstats-wtf / wtf-2019-rsc

What They Forgot to Teach You About R, 2019 January 15/16 @ rstudio::conf
https://rstd.io/wtf-2019-rsc
41 stars 76 forks source link

Mention defensive programming to the debugging module #12

Open jcstock opened 5 years ago

jcstock commented 5 years ago

The first bug was a type issue. Defensive programming would have made resolving this bug a non-issue.

@jimhester mentioned several options to consider: assertive, assertthat, checkmate, stopifnot, etc.