If neither a time or a reference file is provided then the current time is used. If the file does not already exist, it is created unless Create=FALSE.
touch(
file,
time,
reference,
timestoupdate = c("access", "modification"),
Create = TRUE
)
TRUE or FALSE according to success
Path to file to modify
Absolute time in POSIXct format
Path to a reference file
"access" or "modification" (default both)
Logical indicating whether to create file (default TRUE)
jefferis