projects (version 1.1.1)

projects_folder: projects folder path

Description

Returns the file path of the main projects folder if it has been established via setup_projects().

Usage

projects_folder()

Arguments

Details

The file path is returned as a simple character string. It simply returns the value of Sys.getenv("PRJOECTS_FOLDER_PATH"), provided that its value is a file path of a directory that actually exists (i.e., setup_projects() has been successfully run).

If it can't find a directory with that path, it returns this string:

"projects" folder not found. Please run setup_projects()

Examples

Run this code
# NOT RUN {
projects_folder()
# }

Run the code above in your browser using DataCamp Workspace