Published on
Defensive programming and secure coding and the five failures of defensive programming. Introduce safe coding guidelines for R, including document your code, validate input, keep functions short and sweet, refer to external functions explicitly, and never use require().