fs: Functions related to file systems

is_outdatedR Documentation

Functions related to file systems

Description

is_outdated() tests existence and modification time of files.

file_copy_try() is a modified version of fs::file_copy() to copy only new files.

path_destination() normalizes destination paths.

Usage

is_outdated(path, prerequisites = character(0L))

file_copy_try(path, new_path, overwrite = FALSE)

path_destination(path, new_path)

Arguments

path

files to test

prerequisites

comparables

new_path

path to the new file or target directory.

overwrite

If this is FALSE and the file is outdated, a message will be shown.


heavywatal/rwtl documentation built on April 29, 2024, 2:02 a.m.