opt_split_args {optigrab}R Documentation

Split command arguments

Description

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

Usage

opt_split_args(opts = commandArgs())

Arguments

opts

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

opt_split_args splits and value containing an equal (=) sign

Note

non-exported

See Also

Examples

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

[Package optigrab version 0.9.2.1 Index]