Skip to contents

Scaffolds a tidy directory layout for a data-analysis / research project: raw and processed data, analysis notebooks, reusable R functions, and outputs.

Usage

init_analysis(path = getwd(), confirm = TRUE)

Arguments

path

Path where the project is created.

confirm

Logical. If TRUE, prompts for confirmation before creating the project (interactive sessions only).

Value

Invisibly, the path the project was created in.

Examples

init_analysis(path = tempdir(), confirm = FALSE)
#> Your current working directory will be:
#> /tmp/RtmpLcIxChAnalysis project initialized.