initializeRegistry-character-environment-method: Initialize Registry (char-envir)

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

Description

See generic: initializeRegistry

Usage

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

Arguments

id

character.

where

environment.

...

Further arguments to be passed to subsequent functions/methods.

Value

environment. Initialized registry.

Author(s)

Janko Thyson janko.thyson@gmail.com

References

http://github.com/Rappster/optionr

See Also

initializeRegistry, getRegistry

Examples

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

## Default `id` //  
container <- ensureOptionContainer(overwrite = TRUE)  
initializeRegistry(where = container)
exists(".registry", container)

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


## End(Not run)

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