internal.stopifnotproject: Raise an error if given path is not a valid project

.stopifnotprojectR Documentation

Raise an error if given path is not a valid project

Description

Function to stop processing if the path is not a Project Template return the project name if it is a Project Template directory.

Usage

.stopifnotproject(additional_message = "", path = getwd())

Arguments

additional_message

Optional message to show if the given path is not a valid project

path

Path to check if it is a valid project

Value

Project name if it is a valid Project.


johnmyleswhite/ProjectTemplate documentation built on Nov. 24, 2023, 7:12 a.m.