validate_file_not_empty: Validate file is not empty

View source: R/validate-deep.R

validate_file_not_emptyR Documentation

Validate file is not empty

Description

Checks file size and raises CRITICAL if empty.

Usage

validate_file_not_empty(filepath, file_type = "input")

Arguments

filepath

Character. Path to file.

file_type

Character. Description for error messages.

Value

Invisibly returns TRUE if not empty. Stops on empty file.


Rclade documentation built on Sept. 26, 2026, 5:07 p.m.