args_set: Argument Set

View source: R/args.r

args_setR Documentation

Argument Set

Description

Generate an argument table from a set of arguments, following the standard rules for vector recycling in R.

Usage

args_set(...)

Arguments

...

Named arguments to a function.

Value

A tibble of argument combinations.

Examples

args_set(x = 1:10, y = 1:10)
args_set(x = 1:10, y = 1:5, z = 1:2)
# mismatched argument lengths will generate a warning
## Not run: 
args_set(x = 1:10, y = 1:3)

## End(Not run)


mkoohafkan/reval documentation built on Jan. 17, 2024, 1:13 a.m.