fix_fn_names {sig} | R Documentation |
Make anonymous functions and special functions safe.
fix_fn_names(fn_name)
fn_name |
A character vector. |
A character vector.
Strings beginning with “function” are given the value
"..anonymous.."
.
Special function names are wrapped in backquotes.
## Not run:
fix_fn_names(c("%foo%", "?", "foo bar", "repeat", "function"))
## End(Not run)