auto_name: Automatically name all components of a lazy dots.

Description Usage Arguments Examples

Description

Any components missing a name will automatically get a name added by looking at the first max_width characters of the deparsed expression.

Usage

1
auto_name(x, max_width = 40)

Arguments

x

A lazy_dots

max_width

Maximum number of characters to use

Examples

1
2
3
4
x <- lazy_dots(1 + 2, mean(mpg))
auto_name(x)

auto_name(list(~f, quote(x)))

lazyeval documentation built on May 2, 2019, 2:11 a.m.