new: Create a New Project (Master Wrapper)

View source: R/new_project.R

newR Documentation

Create a New Project (Master Wrapper)

Description

Flexible project creation interface. Alias for new_project() that accepts type as a parameter.

Usage

new(
  name = NULL,
  location = NULL,
  type = "project",
  browse = interactive(),
  ...
)

Arguments

name

Project name. If NULL (default), prompts interactively.

location

Directory path where project will be created. If NULL (default), prompts interactively.

type

Project type. One of "project" (default), "project_sensitive", "course", or "presentation".

browse

Whether to open the project folder after creation (default: TRUE in interactive sessions)

...

Additional arguments passed to 'project_

Value

Invisibly returns the result from project_create()

See Also

new_project(), new_project_sensitive(), new_presentation(), new_course()

Examples


if (FALSE) {
# Create different project types
new("analysis", "~/projects/analysis")
new("study", "~/projects/study", type = "project_sensitive")
new("slides", "~/projects/slides", type = "presentation")
new("course-materials", "~/projects/course", type = "course")
}



framework documentation built on Feb. 18, 2026, 1:07 a.m.