needy: needy

needy is a small utility library designed to make testing function inputs less difficult. R is a dynamically typed language, but larger projects need input checking for scalabity. needy offers a single function, require_a( ), which lets you specify the traits an input object should have, such as class, size, numerical properties or number of parameters, while reducing boilerplate code and aiding debugging.

AuthorRyan Grannell
Date of publication2013-07-31 21:17:45
MaintainerRyan Grannell <r.grannell2@gmail.com>
LicenseMIT + file LICENSE
Version0.2

View on CRAN

Functions

add_trait Man page
implemented_traits Man page
require_a Man page

Files

needy
needy/inst
needy/inst/examples
needy/inst/examples/example-require_a.R
needy/inst/tests
needy/inst/tests/test-report.R
needy/inst/tests/test-errors.R
needy/inst/tests/test-custom-tests.R
needy/tests
needy/tests/run_tests.R
needy/NAMESPACE
needy/NEWS
needy/R
needy/R/require_a.R needy/R/report.R needy/R/trait_tests.R needy/R/tools.R
needy/README.md
needy/MD5
needy/DESCRIPTION
needy/man
needy/man/require_a.Rd
needy/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.