R: Extract and Compare 'ggplot2' Plot Specifications as Tidy Data Frames

# Extract and Compare 'ggplot2' Plot Specifications as Tidy Data Frames

## Documentation for package ‘ggspec’ version 0.1.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

assert_ggplot | Assert that an object is a ggplot
canon | Canonicalise a ggplot specification
check_plot | Framework-agnostic plot check
compare_conceptual | Compare two ggplot objects for conceptual similarity
compare_plots | Compare two ggplot objects
compare_visual | Compare two ggplot objects for visual equivalence
enrich_spec | Enrich a plot's layer specification with build-derived default information
equiv_aes | Compare aesthetic mappings of two ggplot objects
equiv_coord | Compare coordinate systems of two ggplot objects
equiv_data | Compare the data of a layer in two ggplot objects
equiv_facets | Compare facet specification of two ggplot objects
equiv_labels | Compare labels of two ggplot objects
equiv_layers | Compare layer structure of two ggplot objects
equiv_params | Compare parameters of a specific layer in two ggplot objects
equiv_plot | Compare two ggplot objects across multiple dimensions
equiv_rendered | Compare the rendered (built) layer data of two ggplot objects
equiv_scales | Compare scales of two ggplot objects
expect_equiv_plot | testthat expectation for plot equivalence
has_layer | Test whether a plot contains a given layer
is_ggplot | Test whether an object is a ggplot
mapping_exists | Test whether a specific aesthetic mapping exists in a plot
n_layers | Count the number of layers in a ggplot
spec_aes | Extract aesthetic mappings as a long-format tidy data frame
spec_coord | Extract coordinate system specification as a tidy data frame
spec_data | Extract the dataset table for a ggplot object
spec_facets | Extract facet specification as a tidy data frame
spec_labels | Extract plot labels as a tidy data frame
spec_layers | Extract layer specifications as a tidy data frame
spec_plot | Extract the full plot specification as a master tidy data frame
spec_scales | Extract scale specifications as a tidy data frame