Skip to contents

Check if a file exists and is readable.

Usage

validate_path(path, must_exist = TRUE)

Arguments

path

File path to check.

must_exist

If TRUE, throw error if file doesn't exist.

Value

Normalized file path.