Skip to contents

This function creates the files if they do not exist and updates the access and modification times if they do exist. Similar to the Unix touch command.

Usage

Path_touch(paths)

Arguments

paths

A character vector of file paths to touch.

Examples

if (FALSE) {
Path_touch("file.txt")
}