Description Usage Arguments Value
Identify the Most Recently Edited File
1 | file.newest(path = ".", pattern = NULL, invert = F, messagename = F, ...)
|
path |
a character vector of full path names; the default corresponds to the working directory, |
pattern |
an optional regular expression. Only file names which match the regular expression will be returned. |
invert |
a logical value. If FALSE, returns the most recently modified file. If TRUE, returns the first modified file. |
messagename |
a logical value determing whether the results should be messaged on the console. Useful in semi-interactive cases when output might not be immediately available, for example, within a dplyr chain. |
... |
other arguments to pass to |
a character string with the full name of the most recently modified file in path
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.