Gets the checksum of a file.
# S3 method for GenericDataFile
getChecksum(this, write=NA, force=FALSE, verbose=FALSE, ...)Returns a character string, which can be NA if file is missing.
If TRUE or NA and a checksum file does not exists, then
a checksum file is created, iff possible. If NA and the file could
not be created, then it falls back to FALSE, but if TRUE an error
is thrown. If FALSE and no checksum file exists, the checksum is
calculated on the fly.
If FALSE, the file exists and has not be modified since,
then the cached checksum is returned.
...
Not used.
Henrik Bengtsson
Internally digest is used.
*readChecksum().
*writeChecksum().
*compareChecksum().
For more information see GenericDataFile.