| .calculate_checksum | R Documentation |
Internal function to calculate file checksum using appropriate algorithm based on file size. Large files use faster xxHash, small files use SHA-256.
.calculate_checksum(file_path, fast_hash, size_threshold_gb, file_size_gb)
file_path |
Character. Path to file |
fast_hash |
Logical. Whether to use fast hashing for large files |
size_threshold_gb |
Numeric. Size threshold in GB |
file_size_gb |
Numeric. Actual file size in GB |
List with checksum and algorithm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.