A helper for passing arguments on to other functions, so you can set some
defaults while letting users override them. Joins PRE.ARGS, then the
arguments in ..., then POST.ARGS. If a name appears more than once, the
first one is used.
Examples
resolve.args(a = 1, POST.ARGS = list(a = 2, b = 3))
#> $a
#> [1] 1
#>
#> $b
#> [1] 3
#>
# a = 1, b = 3