arg: Clean and Simple Argument Checking

Checks function arguments, ideally for use in R packages. Uses a simple interface and produces clean, informative error messages using 'cli'.

Package details

AuthorNoah Greifer [aut, cre] (ORCID: <https://orcid.org/0000-0003-3067-7154>)
MaintainerNoah Greifer <noah.greifer@gmail.com>
LicenseGPL (>= 2)
Version0.1.0
URL https://ngreifer.github.io/arg/ https://github.com/ngreifer/arg
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("arg")

Try the arg package in your browser

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

arg documentation built on April 9, 2026, 5:09 p.m.