View source: R/github_release_utils.R
| create_sqlite_hash_file | R Documentation |
Computes a SHA256 hash for a SQLite database file and writes it to
a .sha256 file. The hash file can be uploaded alongside the database
in a GitHub release to allow version comparison without downloading
the full database.
create_sqlite_hash_file(sqlite_path, output_file = NULL, algo = "sha256")
sqlite_path |
Path to the SQLite file. |
output_file |
Optional output path for the hash file.
Defaults to |
algo |
Hash algorithm (default: |
Invisibly returns the path to the hash file.
## Not run:
create_sqlite_hash_file("database.sqlite")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.