Match arguments in a call to function and add default values
match.call.withDef(definition, call)
Definition of the function to match against
The call that should be matched
A call with named arguments and default values
Given the definition of a function and a call, it matches the arguments so that they are named and inserts any default argument values where those are missing