arg_match0_allow_na {pretestcad} | R Documentation |
Match an argument to a character vector but skip NA
Description
This is equivalent to arg_match
but skip NA
Usage
arg_match0_allow_na(
arg,
values,
arg_nm = rlang::caller_arg(arg),
error_call = rlang::caller_env()
)
Arguments
arg |
A symbol referring to an argument accepting strings. |
values |
A character vector of possible values that |
arg_nm |
Same as |
error_call |
The execution environment of a currently
running function, e.g. |
Value
The string supplied to arg
.
See Also
[Package pretestcad version 1.0.2 Index]