Assertions to Check Properties of Strings

A set of predicates and assertions for checking the properties of US-specific complex data types. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

Install the latest version of this package by entering the following in R:
AuthorRichard Cotton [aut, cre]
Date of publication2015-10-06 15:56:42
MaintainerRichard Cotton <>
LicenseGPL (>= 3)

View on CRAN


assert_all_are_us_social_security_numbers Man page
assert_all_are_us_telephone_numbers Man page
assert_all_are_us_zip_codes Man page
assert_any_are_us_social_security_numbers Man page
assert_any_are_us_telephone_numbers Man page
assert_any_are_us_zip_codes Man page
is_us_social_security_number Man page
is_us_telephone_number Man page
is_us_zip_code Man page

Questions? Problems? Suggestions? or email at

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

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