get_new_output_dir: Increment a new output folder date-version

View source: R/utils_io.R

get_new_output_dirR Documentation

Increment a new output folder date-version

Description

Get a new directory path, but don't make it

Usage

get_new_output_dir(root, date)

Arguments

root

[chr] path to root of output results

date

[chr] character date in form of "YYYY_MM_DD" or "today". "today" will be interpreted as today's date.

Value

[chr] path to new output directory of the form "/<root>/YYYY_MM_DD.VV"

Examples

get_new_output_dir(root = tempdir(), date = "today")

epi-sam/SamsElves documentation built on June 12, 2025, 7 a.m.