Function Argument Validation
Ensure the truth of R expressions
Are objects empty vectors or NULL?
Are vectors integer-like?
Are objects named?
Are objects TRUE or FALSE?
Bare type predicates
Scalar type predicates
Type predicates
Cast objects to a given type
Ensure the truth of R expressions and cast/recycle objects.
favr casting and recycling helpers
Recycle objects to a given size
Ensure the truth of data-masked R expressions and cast/recycle named e...
Validate function arguments succinctly with informative error messages and optional automatic type casting and size recycling. Enable schema-based assertions by attaching reusable rules to data.frame and list objects for use throughout workflows.
Useful links