Skip to contents

Assert directory exists with informative error

Usage

assert_dir_exists(x, arg_name = NULL)

Arguments

x

Directory path to check

arg_name

Optional argument name for clearer error message

Value

Invisible TRUE if directory exists