Create the directory if it doesn't exist. And make sure it being cleaned

modb.clean.file(idx_dir)

Arguments

idx_dir

Character. Directory to clean.

Value

Invisibly TRUE.

Examples

modb.clean.file("IndexedData")
#> [clean.file] Directory 'IndexedData' does not exist - creating it.
modb.clean.file("Output")
#> [clean.file] Directory 'Output' does not exist - creating it.