Skip to contents

One-call replacement for the standard wrapper boilerplate: validate_common_args + process_theme + as.list(environment()) + build_plot.

Wrappers that use this function are reduced to their function-specific pre-processing plus a single forge() call.

Usage

forge(data, atomic_fn, env)

Arguments

data

Data frame

atomic_fn

The atomic plotting function

env

The calling environment (use environment())

Value

Plot or list of plots (from build_plot)