Learn R Programming

ProjectTemplate (version 0.11.0)

.provide.directory: Make sure a required directory exists before usage

Description

Checks if the requested directory exists, and if not creates the directory. In the latter case a warning is raised.

Usage

.provide.directory(name)

Value

No value is returned; this function is called for its side effects.

Arguments

name

Character vector containing the name of the required directory.