| warn_map_keys | R Documentation |
Shared by resolve_channel_args() and resolve_interval_args():
unrecognised keys are warned about and ignored; omitted keys (only
reported by callers when the map has no unnamed fallback) fall back
to the argument's default.
warn_map_keys(
arg_nm,
unknown,
omitted,
what,
match_hint,
env = rlang::caller_env()
)
arg_nm |
Character; the argument name. |
unknown, omitted |
Character vectors (or |
what |
Character; the key kind, |
match_hint |
Character; what valid keys must match, may contain cli markup. |
env |
The calling environment or a defused call, used to report errors and warnings as coming from the user-facing function rather than the validator. |
invisible(NULL), invoked for its warning side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.