dir.project.exists: Project Directory Exists

View source: R/project_dir.R

dir.project.existsR Documentation

Project Directory Exists

Description

Returns whether or not the folder exists, and optionally creates the path (recursively) if missing

Usage

dir.project.exists(names, create = F)

Arguments

names

character vector of folder names in a branch

create

logical create folders if missing?

Value

logical - does the folder exist

Examples

## Not run: 
dir.project.exists("data")

## End(Not run)

JahNorr/orrr documentation built on Jan. 29, 2025, 5:11 p.m.