mainArgs
userArgs
R/utils.R
replace_add_user_args.Rd
Add any argument from userArgs that appears in formals(fun) of the function fun.
formals(fun)
fun
replace_add_user_args(mainArgs, userArgs, fun)