Description Usage Arguments Details Value See Also Examples
A function similar to stopifnot
reporting more
details on vector elements.
1 |
cond |
A logical vector, character scalar or
function. If a character scalar, converted to a function
with |
orig |
Mandatory if |
msg |
When empty or missing, an error message is
constructed automatically in the case of failure.
Otherwise either a |
quiet |
Logical scalar determining the type of
output in case of success (i.e., all values of
|
... |
Optional arguments passed to |
Compared to stopifnot
this function can only
conduct a test on a single object but can report
element-specific details of failures.
The type of return value depends on the values of
quiet
and cond
.
base::stopifnot base::match.fun base::sprintf
Other coding-functions: L
,
LL
, case
,
check
,
collect
, contains
,
flatten
, listing
,
map_names
, map_values
,
must
, set
, sql
,
unnest
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.