arg_assign: Assign Function Arguments for Easy Function Testing

Description Usage Arguments Examples

Description

Allows for easy assignment of arguments (especially when there are defaults) for testing/code writing purposes.

Usage

1
2
3
4
5
6
7
arg_assign(args = NULL, ...)

## Default S3 method:
arg_assign(args = NULL, ...)

## S3 method for class 'function'
arg_assign(args = NULL, ...)

Arguments

args

A vector of arguments, a function, or NULL is copying from the clipboard.

...

ignored.

Examples

1
2
3
4
5
## Not run: 
arg_assign(lm)


## End(Not run)

trinker/pax documentation built on May 31, 2019, 9:42 p.m.