hashfiles {easyr} | R Documentation |
Get a hash value representing a list of files. Useful for determining if files have changed in order to reset dependent caches.
hashfiles(x, skip.missing = FALSE, full.hash = FALSE, verbose = FALSE)
x |
Input which specifies which files to hash. This can be a vector mix of paths and files. |
skip.missing |
Skip missing files. Default is to throw an error if a file isn't found. |
full.hash |
By default we just hash the file info (name, size, created/modified time). Set this to TRUE to read the file and hash the contents. |
verbose |
Print helpful messages from code. |
String representing hash of files.
folder = system.file('extdata', package = 'easyr')
hashfiles(folder)