Recompute the checksum of every exchange file in an archive and compare it with the manifest, reporting files that have changed, are missing, or are not listed.
Arguments
- path
Character string giving the root directory of the archive.
- manifest
Optional manifest to compare against, as returned by
read_manifest(). IfNULL(default), the manifest stored inpathis used.- recursive
Logical. If
TRUE(default), search subdirectories.- verbose
Logical. If
TRUE(default), print a summary and show a progress bar.
Value
A data frame, invisibly, with one row per file and a status
column taking the values "ok", "changed", "revised", "missing" or
"new".
Details
Two kinds of difference are distinguished, because they have different causes and different remedies:
a changed
payload_hashwith an unchangeddate_of_calculationindicates a local problem, such as a corrupted or partially transferred file,a changed
date_of_calculationindicates that ICES has revised the data upstream. This is the case that silently changes results and is the reason the manifest is worth keeping.
