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.

Getting started

Package details

AuthorRyan Grannell
MaintainerRyan Grannell <r.grannell2@gmail.com>
LicenseMIT + file LICENSE
Version0.2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("needy")

Try the needy package in your browser

Any scripts or data that you put into this service are public.

needy documentation built on May 1, 2019, 8:44 p.m.