.stopifnotproject: 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())
Value
Project name if it is a valid Project.
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