Package: ggspec 0.1.0
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.
Authors:
ggspec_0.1.0.tar.gz
ggspec_0.1.0.zip(r-4.7-any)ggspec_0.1.0.zip(r-4.6-any)ggspec_0.1.0.zip(r-4.5-any)
ggspec_0.1.0.tgz(r-4.6-any)ggspec_0.1.0.tgz(r-4.5-any)
ggspec_0.1.0.tar.gz(r-4.7-any)ggspec_0.1.0.tar.gz(r-4.6-any)
ggspec_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ggspec/json (API)
| # Install 'ggspec' in R: |
| install.packages('ggspec', repos = c('https://clement-lee.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/clement-lee/ggspec/issues
Last updated from:1f4e2bf7d3. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 125 | ||
| source / vignettes | OK | 180 | ||
| linux-release | OK | 126 | ||
| macos-release | OK | 191 | ||
| macos-oldrel | OK | 170 | ||
| windows-devel | OK | 89 | ||
| windows-release | OK | 88 | ||
| windows-oldrel | OK | 89 | ||
| wasm-release | OK | 112 |
Exports:assert_ggplotcanoncheck_plotcompare_conceptualcompare_plotscompare_visualenrich_specequiv_aesequiv_coordequiv_dataequiv_facetsequiv_labelsequiv_layersequiv_paramsequiv_plotequiv_renderedequiv_scalesexpect_equiv_plothas_layeris_ggplotmapping_existsn_layersspec_aesspec_coordspec_dataspec_facetsspec_labelsspec_layersspec_plotspec_scales
Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigR6RColorBrewerrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr
Last update: 2026-05-06
Started: 2026-04-14
Last update: 2026-05-06
Started: 2026-04-09
Last update: 2026-05-06
Started: 2026-04-09
