Skip to contents

Return the most recent modification date

Usage

get_recent(pth = ".", full = FALSE)

Arguments

pth

path to file or folder

full

return datetime (instead of date)

Value

most recently modified file

Examples

get_recent("wrong")
#> Error in get_recent("wrong"): Sorry--this is not a valid file path
get_recent("inst/extdata/")
#> Error in get_recent("inst/extdata/"): Sorry--this is not a valid file path
get_recent("inst/extdata/raw", full = TRUE)
#> Error in get_recent("inst/extdata/raw", full = TRUE): Sorry--this is not a valid file path