fix_fn_names: Fix names for sigs

Description Usage Arguments Value Note Examples

View source: R/utils.R

Description

Make anonymous functions and special functions safe.

Usage

1
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

1
2
3
4
## Not run: 
fix_fn_names(c("%foo%", "?", "foo bar", "repeat", "function"))

## End(Not run)

sig documentation built on May 29, 2017, 11:34 a.m.

Search within the sig package
Search all R packages, documentation and source code