View source: R/validate-deep.R
| validate_file_not_empty | R Documentation |
Checks file size and raises CRITICAL if empty.
validate_file_not_empty(filepath, file_type = "input")
filepath |
Character. Path to file. |
file_type |
Character. Description for error messages. |
Invisibly returns TRUE if not empty. Stops on empty file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.