opt_split_args: Split command arguments

Description Usage Arguments Note See Also Examples

View source: R/opt_split_args.R

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") ) 
  

decisionpatterns/optigrab documentation built on Jan. 8, 2019, 3:28 a.m.