most_recent.RdSearches path provided in the search_path and returns most recent file
or directory.
most_recent(search_path, type = c("any", "file", "directory", "symlink"))
| search_path | A path to search |
|---|---|
| type | Type of an object to return. Defaults to |
A path object.
The function makes use of the directory listing function available
in the fs package - fs::dir_ls and
consequently can return any objects that
fs::dir_ls can identify.
#> /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpObl2aQ/downlit