opt_split_args: Split command arguments

Description Usage Arguments Note See Also Examples

Description

Splits command argument vector to name, value pairs. This is an internal function and should generally not be called directly.

Usage

1

Arguments

opts

character; vector of arguments. (Default: commandArgs())

opt_split_args splits and value containing an equal (=) sign

Note

non-exported

See Also

Examples

1
2
3
  optigrab:::opt_split_args()
  optigrab:::opt_split_args( opts=c( "--foo=hello", "-b=goodbye") ) 
  

optigrab documentation built on May 2, 2019, 2:10 a.m.