Return the most recent modification date
get_recent.RdReturn the most recent modification date
Value
A named character vector: "dstmp" containing the most recent
modification date, or "dtstmp" containing the full datetime when
full = TRUE.
Examples
if (FALSE) { # \dontrun{
# invalid path raises an error
get_recent("wrong")
} # }
get_recent(tempdir())
#> ✔ The last modified date in '/tmp/RtmpO906wj': 2026-05-22
#> dstmp
#> "2026-05-22"
get_recent(tempdir(), full = TRUE)
#> ✔ The last modified datetime in '/tmp/RtmpO906wj': 2026-05-22 17:50:01.22403573989868
#> dtstmp
#> "2026-05-22 17:50:01.22403573989868"