Skip to contents

stop_if_e

Usage

stop_if_e(file)

Arguments

file

file path to check

Value

Invisibly returns NULL; errors if file exists.

Examples

stop_if_e(file.path(tempdir(), "missing-file.txt"))