provide.file: Provide a file

View source: R/provide-file.R

provide.fileR Documentation

Provide a file

Description

Present since hutils v1.5.0.

Usage

provide.file(path, on_failure = "")

Arguments

path

A string. The path to a filename that requires existence.

on_failure

The return value on failure. By default, an empty string.

Value

path for success. Or on_failure if the path cannot be provided.


hutils documentation built on April 13, 2022, 5:23 p.m.