| fetch_published_sha256 | R Documentation |
Reads a checksum file published alongside a runtime release and returns the
hash for one archive. Two layouts are supported, both in the standard
sha256sum format (<hash> <filename>):
fetch_published_sha256(checksum_url, asset_filename = NULL)
checksum_url |
Character. URL of the |
asset_filename |
Character or NULL. Archive file name to match within a
combined |
Per-asset sidecar (portable R): the checksum file contains a single line
for the archive. Pass asset_filename = NULL and the first line's hash is
returned.
Combined SHA256SUMS (python-build-standalone): the file lists every
asset. Pass asset_filename and the matching line's hash is returned.
Returns NULL when the checksum cannot be fetched or no matching entry is
found, so callers can continue without verification rather than failing on a
transient network error (the same graceful-skip behavior as the Node.js
installer).
Character SHA-256 hash, or NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.