CreateProjectFiles: CreateProjectFiles

CreateProjectFilesR Documentation

CreateProjectFiles

Description

Check a directory and create a project and folders if they don't exist

Usage

CreateProjectFiles(
  PROJECT_PATH = rstudioapi::getActiveProject(),
  FOLDERS_TO_CREATE = c("data", "docs", "figs", "logs", "output", "queries", "R",
    "tests"),
  OPEN_NEW_SESSION = TRUE,
  DEBUG = TRUE
)

Arguments

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

Value

Creates a project and folders in a directory if a RStudio project is not present

Author(s)

Abraham Mathew

See Also

Other Project Preparation: PackageCheck()

Examples


## Not run: 

     GoodeR::CreateProjectFiles(PROJECT_PATH = rstudioapi::getActiveProject())


## End(Not run)


abmathewks/GoodeR documentation built on June 12, 2025, 1:48 a.m.