Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 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


R.filesets

Easy Handling of and Access to Files Organized in Structured Directories

v2.14.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.