meets_errs | R Documentation |
Checks whether any count- or value-restrictions are carried in ...
arguments. If so, evaluates whether those restriction arguments are valid. If not, throws errors describing invalid restriction arguments.
meets_errs(x, ...)
x |
An object. |
... |
Arguments passed on to |
No return value. Called for the side effect of evaluating the validity of any count- or value-restriction arguments in ...
.
Specifying restrictions in ...
is optional. The full set of recognized arguments names are defined in the following table along with the properties each specifies:
.max, .maxr, .maxc | Scalar maximum valid numbers of elements, rows, and columns, respectively. |
.min, .minr, .minc | Scalar minimum valid numbers of elements, rows, and columns, respectively. |
.lt, .le, .ge, .gt | Complete sortable scalar less-than, less-than-or-equal, greater-than-or-equal, and greater-than bounds, respectively. |
.n, .nr, .nc | A vector of valid numbers of elements, rows, and columns, respectively. |
.vals | A vector of valid values. |
Other utils:
check_valid()
,
combo2props()
,
spec2combos()
,
spec2props()
,
stack2funs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.