project_dir: Return the absolute path of a named project directory

View source: R/project.R

project_dirR Documentation

Return the absolute path of a named project directory

Description

Creates the project directory if create = TRUE and it does not already exist. Names are normalised to a filesystem-friendly slug (spaces become underscores; unusual characters are dropped) so users can enter freeform names.

Usage

project_dir(name, create = FALSE)

Arguments

name

Project name.

create

Whether to create the directory if it does not exist.

Value

Character. Absolute path.


screenllm documentation built on Sept. 24, 2026, 5:11 p.m.