I agree with Naupaka that it is a bit advanced. However, the package
`testthat` is not for defensive programming per se, but for unit tests.
For defensive programming specifically there is the `assertive` and
`assertr` packages. However, unlike Python, the facilities for defensive
programming are
Not sure how relevant the "Programming in R" lesson SWC material is for
you, but a great resource for "programmers using R" would be the
book/online book Advanced R http://adv-r.had.co.nz/ by Hadley Wickham.
Luke
On 2016-09-13 02:21 PM, Gabriel A. Devenyi wrote:
> This is purely out of personal