Skip to contents

Validates that every path of a character value exists and can be read, judged by file.access().

Usage

require_readable(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.