pryr (version 0.1.4)

dots: Capture unevaluated dots.

Description

Capture unevaluated dots.

Usage

dots(...)

named_dots(...)

Arguments

...

... passed in to the parent function

Value

a list of expressions (not expression objects). named_dots will use the deparsed expressions as default names.

Examples

Run this code
# NOT RUN {
y <- 2
str(dots(x = 1, y, z = ))
str(named_dots(x = 1, y, z =))
# }

Run the code above in your browser using DataLab