get_recent_file: Get recent file

View source: R/directory.R

get_recent_fileR Documentation

Get recent file

Description

A function where you can detect the most recent file from a directory.

Usage

get_recent_file(x, exclude_temp = TRUE, ...)

Arguments

x

The directory in which to search the file

exclude_temp

Logical, if TRUE tries to remove temp Windows files

...

Additional arguments passed to list_files()

Value

The full name of the most recent file from the stated directory


mark documentation built on Oct. 23, 2023, 9:06 a.m.