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)
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.
String representing hash of files.
# NOT RUN { folder = system.file('extdata', package = 'easyr') hashfiles(folder) # }
Run the code above in your browser using DataLab