check_md5: Check md5 sum in cache directory

Description Usage Arguments Value Examples

View source: R/genericfns.R

Description

This function takes an md5 and checks whether it is in the default cache directory ~/cache/.

Usage

1
check_md5(md5, path)

Arguments

md5

the md5 checksum

path

the directory where the cache is stored

Value

True or False, depending on whether the file exists in the cache.

Examples

1
2
3
require(digest)
md5 <- digest(2)
check_md5(md5,".")

shazhe/mvst0 documentation built on May 29, 2019, 9:20 p.m.