outdir_create: Create output directory using the currently-running file name

View source: R/file_dir_handling.R

outdir_createR Documentation

Create output directory using the currently-running file name

Description

outdir_create automatically detect the file name of the current srcipt and create output directory using the file name.

Usage

outdir_create(save_dir_name = TRUE, str_end = 3, suffix = "Out")

Arguments

save_dir_name

Logical. If TRUE, output directory name is saved to an object.

str_end

Integer. Trim str_end characters from the file name.

suffix

Character. Suffix that will be appended to the file name.

Value

Output directory name.

Examples

# outdir_create()

ong8181/macam documentation built on Oct. 15, 2024, 7:04 a.m.