Function that hashes the values of the environment,
handling special cases such as functions and formulae.
Usage
hash_environment(environment)
Arguments
- environment
(environment or list)
The environment to hash.
Value
(list(character))
A list of hashes for the environment
Examples
hash_environment(list(DiseasyActivity))
#> [1] "a76619053eba4cf9afc47c974e50cd59"
hash_environment(list(mtcars, iris))
#> [1] "6755d143ff87b73a1196c186cec7e86a" "74e8e3b3ccea26fe2b0e55a9b644d8e0"