flow_folders: Workflow function: Create project folders

Description Usage Arguments Details Examples

View source: R/flow_folders.R

Description

Create project folders with a minimal structure. See Details.

Usage

1
flow_folders(project_path = ".")

Arguments

project_path

Project folder path.

Details

In a typical new workflow setup, create a RStudio project folder first. Then, run this function in R console using the default parameter.

Minimal folder structure:
code - R script files (.R)
data_raw - Raw data from external source
data_derived - Data files generated in the analysis process
figs - Figures and plots
docs - Report files (.Rmd and their derivatives or .docx)

Examples

1
2
3
temp_folder <- tempdir()
flow_folders(temp_folder)
list.dirs(temp_folder)

zawmtun/slingr documentation built on Dec. 23, 2021, 9:14 p.m.