Takes arguments as base::list to create a list.
If any arguments are present in defaultList, but absent in ..., then the values from defaultList are used.
Usage
listWithDefaults(..., defaultList = NULL)
Arguments
...
objects, must be named
defaultList
a named list containing the default values
Note
Argument order is not controlled. Non-default arguments come first in the order specified followed by all default arguments.