md5_fun: Generate md5 checksum from function

Description Usage Arguments Details Examples

Description

Creates an md5 checksum of a function by dumping it and then digesting the file.

Usage

1
md5_fun(fn, path)

Arguments

fn

the function to digest

path

the directory where dumping will be carried out

Details

Note that a ~/cache folder needs to be present for this to work.

Examples

1
2
myfun1 <- function(x) x^2
x <- md5_fun(myfun1,".")

andrewzm/atminv documentation built on May 10, 2019, 11:14 a.m.