projects_folder {projects}R Documentation

projects folder path

Description

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

Usage

projects_folder()

Details

The file path is returned as a simple character string. It simply returns the value of Sys.getenv("PROJECTS_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()

See Also

setup_projects() for setting up the projects folder.

Examples

projects_folder()

[Package projects version 2.1.3 Index]