Crandore Hub

ggspec

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

Inspects 'ggplot' objects by extracting their full declarative specification - layers, aesthetic mappings, scales, facets, coordinate systems, and labels - as tidy data frames. A second tier of functions enables structural comparison of two 'ggplot' objects, supporting automated plot testing, auditing, and framework-agnostic grading workflows. Unlike 'ggcheck', which is designed exclusively for 'learnr'/'gradethis' pipelines and returns ad-hoc objects, 'ggspec' returns rectangular, pipeable output and does not require any grading framework as a dependency.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 ggspec_0.1.0.tar.gz 273.5 KiB
0.1.0 rolling linux/noble R-4.5 ggspec_0.1.0.tar.gz 273.7 KiB
0.1.0 rolling source/ R- ggspec_0.1.0.tar.gz 133.6 KiB
0.1.0 latest linux/jammy R-4.5 ggspec_0.1.0.tar.gz 273.5 KiB
0.1.0 latest linux/noble R-4.5 ggspec_0.1.0.tar.gz 273.7 KiB
0.1.0 latest source/ R- ggspec_0.1.0.tar.gz 133.6 KiB
0.1.0 2026-04-23 source/ R- ggspec_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports

Suggests