clean_pipeline: Delete empty pipeline folders

Description Usage Arguments Details Value

View source: R/pipeline.R

Description

clean_pipeline() differs from tidy_pipeline() in that the latter moves all pipeline folders without a matching .R file to the _archive sub-folder, while clean_pipeline() deletes all pipeline folders that are empty. Such folders typically exist if a script does not result in any output.

Usage

1
clean_pipeline(dir_path = NULL)

Arguments

dir_path

Directory path

Details

Not very elegant, repeating code, should be rewritten

Value

Message on which, if any, folders were deleted.


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