create_path_structure: Create a full path structure

Description Usage Arguments Value Source Examples

View source: R/create_path_structure.R

Description

Create a full hierarchical path structure based on a vector of folder names with incomplete hierarchical definition

Usage

1

Arguments

folders

a vector of paths <chr> that does not have to contain all folder levels separately

Value

a vctor <chr> of paths that fully define a folder structure

Source

Cumulative paste function is based on https://stackoverflow.com/questions/24862046/cumulatively-paste-concatenate-values-grouped-by-another-variable created by https://stackoverflow.com/users/2414948/alexis-laz

Examples

1
2
# Creating default folder structure
create_path_structure(c("research/meta/extraction","research/meta/screening"))

nthun/metamanager documentation built on Aug. 9, 2019, 1:37 p.m.