Learn R Programming

testthat (version 3.1.10)

safe_digest: Compute a digest of a filename, returning NA if the file doesn't exist.

Description

Compute a digest of a filename, returning NA if the file doesn't exist.

Usage

safe_digest(path)

Value

a digest of the file, or NA if it doesn't exist.

Arguments

filename

filename to compute digest on