create_project() initializes a new project with a standardized structure at
the specified path. It prompts the user for essential metadata if not
provided. The function creates the necessary directories, a DESCRIPTION
file, and an table of tables (TOT) Excel file. If the project is successfully
created, it opens the new project in RStudio.
Usage
create_project(
path = ".",
title = NULL,
client = NULL,
department = NULL,
author = NULL,
email = NULL,
version = "1.0.0",
open = rlang::is_interactive(),
force = FALSE,
quiet = FALSE
)Arguments
- path
Path where the project should be created (default is current directory).
- title
Title of the project.
- client
Name of the client.
- department
Department code or name.
Author name (first and last).
Author email.
- version
Project version (default is
1.0.0).- open
If
TRUE, opens the new project in RStudio (default isTRUEif in interactive session).- force
If
TRUE, skips the confirmation prompt before creating the project (default isFALSE).- quiet
If
TRUE, suppresses informational messages during project creation (default isFALSE).
