Skip to contents

Check that an sm_corpus has valid structure and consistent IDs.

Usage

validate_sm_corpus(x, call = rlang::caller_env())

Arguments

x

An sm_corpus object.

call

Caller environment for error reporting.

Value

x invisibly if valid; throws an error otherwise.