faux_options: Set/get global faux options

Description Usage Arguments Value Examples

Description

Global faux options are used, for example, to set the default separator for cell names.

Usage

1

Arguments

...

One of four: (1) nothing, then returns all options as a list; (2) a name of an option element, then returns its value; (3) a name-value pair which sets the corresponding option to the new value (and returns nothing), (4) a list with option-value pairs which sets all the corresponding arguments.

Value

a list of options, values of an option, or nothing

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
faux_options() # see all options

faux_options("sep") # see value of faux.sep

## Not run: 
# changes cell separator (e.g., A1.B2)
faux_options(sep = ".")

# changes cell separator back to default (e.g., A1_B2)
faux_options(sep = "_")

## End(Not run)

faux documentation built on Sept. 14, 2021, 1:08 a.m.