arg_assign: Assign Function Arguments for Easy Function Testing

Description Usage Arguments Examples

View source: R/arg_assign.R

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 March 21, 2018, 3:01 a.m.