initializeProjectOptions-character-environment-method: Initialize Options (char-envir)

Description Usage Arguments Value Author(s) References See Also Examples

Description

See generic: initializeProjectOptions

Usage

1
2
3
## S4 method for signature 'character,environment'
initializeProjectOptions(id = "options",
  where, ...)

Arguments

id

character.

where

environment.

...

Further arguments to be passed to subsequent functions/methods.

Value

environment. Environment containing the options.

Author(s)

Janko Thyson janko.thyson@gmail.com

References

http://github.com/Rappster/optionr

See Also

initializeProjectOptions

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 

## Default `id` //  
container <- ensureOptionContainer(overwrite = TRUE)  
initializeProjectOptions(where = container)
exists("options", container)

## Different `id` //
container <- ensureOptionContainer(overwrite = TRUE)  
initializeProjectOptions(id = "OPTIONS", where = container)
exists("OPTIONS", container)


## End(Not run)

rappster/optionr documentation built on May 26, 2019, 11:23 p.m.