Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

digest_function

Compute Function Digest Hash


Description

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.

Usage

digest_function(fun, n = Inf)

Arguments

fun

a function

n

a single numeric that indicates the length of the hash.

Details

The hash itself is computed using digest::digest.

Value

a character string


pkgmaker

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.