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 June 14, 2025, 3:36 a.m.