rstats-wtf / wtf-2020-rsc

https://rstd.io/wtf-2020-rsc
Creative Commons Attribution Share Alike 4.0 International
49 stars 31 forks source link

Mention defensive programming to the debugging module #6

Open karawoo opened 4 years ago

karawoo commented 4 years ago

source

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.