Uses file.info() to get size and mtime.
file.info()
size
mtime
get_file_info(path)
path
A character vector of one or more paths.