check_overwriting_clearance: Check whether a file / path exists and return an error when...

Description Usage Arguments

View source: R/io.R

Description

Check whether a file / path exists and return an error when it cannot be overwritten.

Usage

1
check_overwriting_clearance(path, over_write, fun = file.exists)

Arguments

path

The path to the root directory of the gitsum repository.

over_write

Whether or not existing files / directories should be overwritten.

fun

The function to apply to the path, either file.exists, or dir.exists.


lorenzwalthert/gitsum documentation built on Jan. 17, 2021, 9:34 p.m.