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/RtmpFYOPD1': 2026-08-05
#> dstmp
#> "2026-08-05"
get_recent(tempdir(), full = TRUE)
#> ✔ The last modified datetime in '/tmp/RtmpFYOPD1': 2026-08-05 21:01:42.1654558181763
#> dtstmp
#> "2026-08-05 21:01:42.1654558181763"