Learn R Programming

vmTools (version 1.0.1)

get_latest_output_date_index: get the latest index for given an output dir and a date

Description

directories are assumed to be named in YYYY_MM_DD.VV format with sane year/month/date/version values.

Usage

get_latest_output_date_index(dir, date)

Value

[int] largest version in directory tree or 0 if there are no version OR the directory tree does not exist

Arguments

dir

[chr] path to directory with versioned dirs

date

[chr] character in YYYY_MM_DD format