add.option: add.option

Description Usage Arguments Value

View source: R/add.option.R

Description

Add option to nested list of options. Applied recursively

Usage

1
add.option(name, value, old.options, nesting.character = "\\.")

Arguments

name

Option name. Nesting is indicated by character specified in nesting.character.

value

New value of option

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


varitas documentation built on Nov. 14, 2020, 1:07 a.m.