CreateProjectFiles | R Documentation |
Check a directory and create a project and folders if they don't exist
CreateProjectFiles(
PROJECT_PATH = rstudioapi::getActiveProject(),
FOLDERS_TO_CREATE = c("data", "docs", "figs", "logs", "output", "queries", "R",
"tests"),
OPEN_NEW_SESSION = TRUE,
DEBUG = TRUE
)
PROJECT_PATH |
The main project directory |
FOLDERS_TO_CREATE |
The folders that will be created in the project path |
OPEN_NEW_SESSION |
If TRUE, a new session will be generated |
DEBUG |
If TRUE, the function will run in debug mode |
Creates a project and folders in a directory if a RStudio project is not present
Abraham Mathew
Other Project Preparation:
PackageCheck()
## Not run:
GoodeR::CreateProjectFiles(PROJECT_PATH = rstudioapi::getActiveProject())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.