| cer_sha256 | R Documentation |
Compute the SHA-256 digest of a file
cer_sha256(file)
file |
Path to a local file. |
A length-1 character string (hex digest), or NA if
the file does not exist. Uses digest::digest() when the
digest package is available (recommended for research work),
falling back to tools::md5sum() otherwise.
Other reproducibility:
cer_cite(),
cer_deposit_zenodo(),
cer_legislative_instrument(),
cer_manifest(),
cer_manifest_clear(),
cer_manifest_write(),
cer_snapshot()
f <- tempfile()
writeLines("hello", f)
cer_sha256(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.