assertthat is an amazingly easy library to use design-by-contract in R that has enough options to account for the majority of your usage scenarios.
See also http://cran.r-project.org/web/packages/assertthat/index.html.
assertthat is an amazingly easy library to use design-by-contract in R that has enough options to account for the majority of your usage scenarios.
See also http://cran.r-project.org/web/packages/assertthat/index.html.