Learn R Programming

R.filesets (version 2.15.1)

readChecksum.GenericDataFile: Reads the value of the corresponding checksum file

Description

Reads the value of the corresponding checksum file, if existing.

Usage

# S3 method for GenericDataFile
readChecksum(this, ...)

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.

Arguments

...

Not used.

Author

Henrik Bengtsson

Details

The content of the checksum file is trimmed from comment lines, whitespaces and then validated that the remaining part contains a hexadecimal value.

See Also

*validateChecksum(). *compareChecksum(). *writeChecksum(). *getChecksum(). For more information see GenericDataFile.