Function to assign (and evaluate) arguments with default values for a given function

Description

xFunArgs is supposed to assign (and evaluate) arguments with default values for a given function.

Usage

1
xFunArgs(fun, action = F, verbose = TRUE)

Arguments

fun

character specifying the name of the function

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 as it frees developers from specifying default values for all arguments except those arguments of interest

See Also

xFunArgs

Examples

1
xFunArgs(fun="xRDataLoader")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.