Parse command-line arguments.

arg_parser(args = NULL)

Arguments

args

Optionally pass the results of commandArgs(TRUE). We have this parameter so that we can test without side effects.

Value

A list where args that aren't on the command line are NULL.