Skip to contents

Create a directory path pointing function

Usage

dir_fn(base_dir)

Arguments

base_dir

(chr) the base directory to which the path should point

Value

(fun) with pointing function using path

Examples

dir_fn("data")("random_data", "file", ext = "txt")
#> data/random_data/file.txt