powered by
Return on the date-version, not the full path. Does not create a folder.
get_new_version_name(root, date = "today")
[chr] new output version of the form "YYYY_MM_DD.VV"
[chr] path to root of output results
[chr] character date in form of "YYYY_MM_DD" or "today". "today" will be interpreted as today's date.
get_new_version_name(root = tempdir(), date = "today") # expect "YYYY_MM_DD.01"
Run the code above in your browser using DataLab