powered by
mtime
We set modification times on some objects, this is a convenience wrappers to attr.
attr
get_mtime(x)
An object.
The value of attr(attr(x, "path", "mtime").
attr(attr(x, "path", "mtime")
Other file utilities: file_copy(), file_modified_last(), file_save(), find_files(), get_unique_string(), is_files_current(), is_path(), paths, search_files(), split_code_file(), touch()
file_copy()
file_modified_last()
file_save()
find_files()
get_unique_string()
is_files_current()
is_path()
paths
search_files()
split_code_file()
touch()
# NOT RUN { x <- 2 path <- tempfile() touch(path) x <- set_path(x, path) get_mtime(x) # }
Run the code above in your browser using DataLab