Skip to contents

Validates that every path of a character value exists and is a directory.

Usage

require_dir_exists(restriction)

Arguments

restriction

a restriction object.

Value

The modified restriction object.

Details

Non-character input fails with a type error. NA paths are skipped; chain require_no_na() to reject them.