Description
Add option to nested list of options. Applied recursively
Usage
add.option(name, value, old.options, nesting.character = "\\.")
Arguments
name
Option name. Nesting is indicated by character specified in nesting.character.
old.options
Nested list the option should be added to
nesting.character
String giving Regex pattern of nesting indication string. Defaults to '\.'
Value
Nested list with updated options