dots: Capture unevaluated dots.

View source: R/dots.r

dotsR Documentation

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

y <- 2
str(dots(x = 1, y, z = ))
str(named_dots(x = 1, y, z =))

hadley/pryr documentation built on Jan. 5, 2024, 10:38 a.m.