validate_file_exists: Validate that a file exists in a given directory

View source: R/utils.R

validate_file_existsR Documentation

Validate that a file exists in a given directory

Description

Before performing an operation on a file assumed to be found in a given directory, validate this file exists and give indicative error if not.

Usage

validate_file_exists(path)

Arguments

path

Character vector indicating the directory of a file.

Value

String holding provided path.


2DegreesInvesting/r2dii.climate.stress.test documentation built on June 6, 2024, 8:23 a.m.