mostRecentTimestamp.RdReturns the timestamp of the most recently modified file. If no such file
exists, or if the directory basepath/fname doesn't exist, returns NA.
mostRecentTimestamp(fname, basepath = ".")
| fname | The name of the directory in |
|---|---|
| basepath | A string. The path which stores the |
A POSIXct object specifying the mtime of the most recently
modified file in basepath/fname
library(lubridate)#> #>#> #> #>