Computes a digest hash of the body and signature of a function. Note that the hash is not affected by attributes or the function's environment.
digest_function(fun, n = Inf)
fun | a function |
---|---|
n | a single numeric that indicates the length of the hash. |
a character string
The hash itself is computed using digest::digest.