erify: Check Arguments and Generate Readable Error Messages

Provides several validator functions for checking if arguments passed by users have valid types, lengths, etc. and for generating informative and well-formatted error messages in a consistent style. Also provides tools for users to create their own validator functions. The error message style used is adopted from <https://style.tidyverse.org/error-messages.html>.

Package details

AuthorRenfei Mao
MaintainerRenfei Mao <renfeimao@gmail.com>
LicenseMIT + file LICENSE
Version0.4.0
URL https://github.com/flujoo/erify https://flujoo.github.io/erify/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("erify")

Try the erify package in your browser

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

erify documentation built on Oct. 4, 2022, 5:07 p.m.