readChecksum.GenericDataFile {R.filesets} | R Documentation |
Reads the value of the corresponding checksum file
Description
Reads the value of the corresponding checksum file, if existing.
Usage
## S3 method for class 'GenericDataFile'
readChecksum(this, ...)
Arguments
... |
Not used. |
Details
The content of the checksum file is trimmed from comment lines, whitespaces and then validated that the remaining part contains a hexadecimal value.
Value
Returns a character
string, which can be NA
if file is missing.
An exception is thrown if the file does not exist, and hence not
the checksum file.
Author(s)
Henrik Bengtsson
See Also
*validateChecksum()
.
*compareChecksum()
.
*writeChecksum()
.
*getChecksum()
.
For more information see GenericDataFile
.
[Package R.filesets version 2.15.1 Index]