Skip to contents

Check that layer names are unique, ROI identifiers are unique across the project, and all geometries are valid.

Usage

at_validate(project, call = rlang::caller_env())

Arguments

project

An annot_project.

call

The calling environment, for error reporting.

Value

The project, invisibly, if valid; otherwise an error describing the violated invariant.

Examples

proj <- at_validate(at_example_project())