validate_file_exists: Validate file existence and readability

View source: R/read-input.R

validate_file_existsR Documentation

Validate file existence and readability

Description

Validate file existence and readability

Usage

validate_file_exists(filepath, file_type = "input", must_exist = TRUE)

Arguments

filepath

Character. Path to file.

file_type

Character. Description of file type for error messages.

must_exist

Logical. Whether file must exist. Default: TRUE.

Value

Logical. TRUE if valid.


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