dFunArgs: Function to assign (and evaluate) arguments with default...

Description Usage Arguments Value Note See Also Examples

View source: R/dFunArgs.r

Description

dFunArgs is supposed to assign (and evaluate) arguments with default values for an input function.

Usage

1
dFunArgs(fun, action = F, verbose = T)

Arguments

fun

an input function name (character string)

action

logical to indicate whether the function will act as it should be (with assigned values in the current environment). By default, it sets to FALSE

verbose

logical to indicate whether the messages will be displayed in the screen. By default, it sets to TRUE for display

Value

a list containing arguments and their default values

Note

This function is potentially useful when debugging. Because the developer does not have to specify default values for all arguments except those arguments are of interest

See Also

dNetPipeline

Examples

1
2
3
4
5
## Not run: 
fun <- "dNetPipeline"
dFunArgs(fun)

## End(Not run)

dnet documentation built on Feb. 20, 2020, 5:08 p.m.

Related to dFunArgs in dnet...