Author new functions that warns and provides a custom message when a predicate evaluates to true.
flag_ff(predicate, warn_message, arguments, ...)
| predicate | Evaluating function. |
|---|---|
| warn_message | Message to receive with the |
| arguments | (option) character vector of arguments for the new function. If missing, the new function will not have any arguments. Arguments in the |
| ... | Additional arguments passed to the base warning function |
Assigned function
parse_expr,missing_arg
map,set_names
Other ff functions:
brake_ff()