validate_fig_inputs: Validate inputs before rendering a figure

View source: R/validate.R

validate_fig_inputsR Documentation

Validate inputs before rendering a figure

Description

Called by hd_make() immediately before dispatching to a backend engine. Stops with an informative message if anything is wrong.

Usage

validate_fig_inputs(spec, opts, type, backend, extra_args)

Arguments

spec

A hd_spec object.

opts

A hd_opts object.

type

Character. Geometry name.

backend

Character. Backend name.

extra_args

Named list of additional arguments (for required-arg check).

Value

invisible(NULL) on success.


highdir documentation built on July 31, 2026, 5:06 p.m.