find_latest: Find the latest version of a file with a given pattern in a...

Description Usage Arguments Value See Also

Description

Find the latest version of a file with a given pattern in a given folder. This is typically used for files that start with a ymd date or a monotonically increasing string, e.g. yyyy-mm-dd filename.ext.

Usage

1
find_latest(srcDir = ".", pattern)

Arguments

srcDir

The search directory.

pattern

A regular expression matching the file you want to find.

Value

The full path of the matching file, or NULL.

See Also

read_latest


alphajuliet/ajworkr documentation built on May 11, 2019, 11:21 p.m.