fix_fn_names {sig} | R Documentation |
Fix names for sigs
Description
Make anonymous functions and special functions safe.
Usage
fix_fn_names(fn_name)
Arguments
fn_name |
A character vector. |
Value
A character vector.
Note
Strings beginning with “function” are given the value
"..anonymous.."
.
Special function names are wrapped in backquotes.
Examples
## Not run:
fix_fn_names(c("%foo%", "?", "foo bar", "repeat", "function"))
## End(Not run)
[Package sig version 0.0-6 Index]