Learn R Programming

vmTools (version 1.0.1)

get_new_version_name: Increment a new output folder version as "YYYY_MM_DD.VV"

Description

Return on the date-version, not the full path. Does not create a folder.

Usage

get_new_version_name(root, date = "today")

Value

[chr] new output version of the form "YYYY_MM_DD.VV"

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.

Examples

Run this code
get_new_version_name(root = tempdir(), date = "today") # expect "YYYY_MM_DD.01"

Run the code above in your browser using DataLab