Filter and merge arguments for function calls
Source:R/summary_utility_functions.R
filter_call_args.RdSimplifies the common pattern of filtering arguments from a source list to match a target function's formal parameters, then adding/overriding specific arguments.
Arguments
- source_args
List of all arguments (typically from
mget()or a stored args list).- target_func
Function whose formals define the filter criteria.
- override_args
List of arguments to add or override (optional).
Value
List of filtered arguments ready for do.call().