files_exist_md5: Check whether files exist, optionally with MD5 check.

Description Usage Arguments Value

View source: R/filecache.R

Description

Check whether files exist. If MD5 hashes are given, they will be verified.

Usage

1
files_exist_md5(files_absolute, md5sums = NULL)

Arguments

files_absolute,

vector of strings. A vector of filenames. Files are check as given, so they must already include the package cache part of the path.

md5sums,

vector of strings or NULL. A list of MD5 checksums, one for each file in param 'files', if not NULL. If given, the files will only be reported as existing if the MD5 sums match.

Value

logical vector. Whether the files exist. If the md5sums were given, whether the files exist and the MD5 sum matches.


pkgfilecache documentation built on May 18, 2021, 1:06 a.m.