Skip to contents

Checks that required fields are present and have the expected shape. Used internally by new_symbolized_model(). Reachable as symbolizer:::validate_symbolized_model() for advanced users who construct or modify objects by hand.

Usage

validate_symbolized_model(x)

Arguments

x

A symbolized_model.

Value

Invisibly returns x. Errors via cli::cli_abort() if invalid.