quote_args: Quote all arguments, like 'alist'. But when bare words are...

Description Usage Arguments Value Examples

Description

Quote all arguments, like alist. But when bare words are given as arguments, interpret them as the argument name, rather than the argument value. Return a pairlist. This emulates the syntax used to specify function arguments and defaults.

Usage

1

Arguments

...

the arguments to quote.

Value

a pairlist, with quoted arguments, and barewords inprepreted as names

Examples

1
substitute(`function`(args, body), list(args=quote_args(x, y=1), body=quote(x+y)))

crowding/vadr documentation built on May 14, 2019, 11:33 a.m.