Skip to contents

Sets up an example pipeline which can be used as the basis for your own.

Usage

create_skeleton_pipeline(dir = "DemoPipeline")

Arguments

dir

Directory you wish to create the pipeline in.

Value

Absolute path of the created pipeline directory (invisibly).

Examples


dir <- create_skeleton_pipeline(tempfile())
#>  Template pipeline created in /tmp/RtmpiVYZyj/file2a87a677e09.

# Note the configuration file and the folder of R functions
list.files(dir, all.files = TRUE, recursive = TRUE, no.. = TRUE)
#> [1] "R/load_dat.R"    "R/plot_dat.R"    "R/wrangle_dat.R" "config.R"       
#> [5] "data/mtcars.csv" "pipeline.R"     

unlink(dir)