Learn R Programming

mark (version 0.8.1)

get_dir_recent_date: Get recent directory by date

Description

Looks at the directories and assumes the date

Usage

get_dir_recent_date(x = ".", dt_pattern = NULL, dt_format = NULL, all = FALSE)

Value

A full path to a directory

Arguments

x

A directory

dt_pattern

A pattern to be passed to filter for the directory

dt_format

One or more formats to try

all

Logical, if TRUE will recursively search for directories