powered by
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, skiptemp = TRUE )
String representing hash of files.
Input which specifies which files to hash. This can be a vector mix of paths and files.
Skip missing files. Default is to throw an error if a file isn't found.
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.
Print helpful messages from code.
Skip temporary MS Office files like "~$Simd Loss Eval 2018-06-30.xlsx"
folder = system.file('extdata', package = 'easyr') hashfiles(folder)
Run the code above in your browser using DataLab