addto_pipeline: Add script specific folders to pipeline

Description Usage Arguments Details Value Examples

View source: R/pipeline.R

Description

addto_pipeline creates a folder inside the top-level pipeline folder, ensuring an easy association between .R files and the output from them. A path variable to the folder is also assigned to the global environment.

Usage

1

Arguments

name

Character, name of script without .R extension

...

Additional arguments

Details

A top-level folder named pipeline is created if it does not exist already.

Robust function: TRUE

Value

Creates folder in project structure and assigns global path to script sub folder. Returns a message if successful.

Examples

1
2
3
4
## Not run: 
addto_pipeline(name = "my_script")

## End(Not run)

AndreSjuve/flowaid documentation built on Dec. 17, 2021, 8:50 a.m.