opt_expand {optigrab} | R Documentation |
Expand option vector to split names from values. This is an internal function and should generally not be called directly.
opt_expand(opts = commandArgs())
opts |
character vector of arguments. (Default: |
opt_expand
does two things:
#1. Removes values preceding and including --args
.
#2. Splits and value containing an equal ('=“) sign.
non-exported
optigrab:::opt_expand()
optigrab:::opt_expand( opts=c( "--foo", "bar") )