File: auto_name.Rd

package info (click to toggle)
r-cran-lazyeval 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,280 kB
  • ctags: 25
  • sloc: ansic: 268; sh: 9; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 600 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lazy-names.R
\name{auto_name}
\alias{auto_name}
\title{Automatically name all components of a lazy dots.}
\usage{
auto_name(x, max_width = 40)
}
\arguments{
\item{x}{A \code{\link{lazy_dots}}}

\item{max_width}{Maximum number of characters to use}
}
\description{
Any components missing a name will automatically get a name added by
looking at the first \code{max_width} characters of the deparsed expression.
}
\examples{
x <- lazy_dots(1 + 2, mean(mpg))
auto_name(x)

auto_name(list(~f, quote(x)))
}
\keyword{internal}