getChecksum-character-missing-method: Get Checksum (character-missing)

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

Description

See generic: getChecksum

Usage

1
2
## S4 method for signature 'character,missing'
getChecksum(id, where = parent.frame(), ...)

Arguments

id

character.

where

missing.

...

Further arguments to be passed to subsequent functions/methods.

Value

See method getChecksum-character-environment-method

Author(s)

Janko Thyson janko.thyson@rappster.de

References

http://github.com/Rappster/reactr

See Also

getChecksum, getChecksum-character-environment-method

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Not run: 

## Start with fresh registry //
resetRegistry()

## Reactive object w/o references //
setReactive(id = "x_1", value = 10)
getChecksum(id = "x_1")
## --> equivalent to:
digest::digest(10)

## Reactive object with references //
setReactive(id = "x_2", value = function() "object-ref: {id: x_1}")
getChecksum(id = "x_2")
## --> equivalent to:
digest::digest(x_1)

## Clean up //
rmReactive("x_1")
rmReactive("x_2")


## End(Not run)

rappster/reactr documentation built on May 26, 2019, 11:56 p.m.