dot-updateMD5: Determine and write MD5 sum

.updateMD5R Documentation

Determine and write MD5 sum

Description

Determine and write MD5 sum

Usage

.updateMD5(x)

Arguments

x

registry(1)
registry for which to determine the MD5 checksum.

Details

This function follows this algorithm:

  • set the current MD5 checksum to NA_character_,

  • write the registry into the temporary directory,

  • calculate the checksum of this file and finally

  • store the checksum in the md5 slot of the registry.

This means that when comparing the MD5 checksum in this slot, one first has to set that value also to NA_character_, otherwise the two values won't coincide.

Value

this function is called for its side-effect of storing the MD5 checksum in the md5 slot of the registry.


bitfield documentation built on June 9, 2025, 5:09 p.m.