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/RtmpEFndNL': 2026-05-28
#> dstmp
#> "2026-05-28"
get_recent(tempdir(), full = TRUE)
#> ✔ The last modified datetime in '/tmp/RtmpEFndNL': 2026-05-28 13:42:27.5098924636841
#> dtstmp
#> "2026-05-28 13:42:27.5098924636841"