find_named_arg: Find a named argument in a list of call arguments
Description
Searches by name; also handles positional fallback for the second argument
when the name is absent (e.g., expect_equal(x, y, tolerance = 0.01)).
Usage
find_named_arg(args, name)
Value
The argument value, or NULL if not found
Arguments
- args
List of call arguments (from as.list(e[-1]))
- name
Character name of the argument to find