Package: ggspec
Type: Package
Title: Extract and Compare 'ggplot2' Plot Specifications as Tidy Data
        Frames
Version: 0.1.0
Authors@R: person("Clement", "Lee", email = "clement.lee.tm@outlook.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1785-8671"))
Author: Clement Lee [aut, cre] (ORCID: <https://orcid.org/0000-0003-1785-8671>)
Maintainer: Clement Lee <clement.lee.tm@outlook.com>
Description: 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.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.2.3
Depends: R (>= 4.1.0)
Imports: ggplot2 (>= 3.4.0), rlang (>= 1.1.0), tibble (>= 3.2.0), dplyr
        (>= 1.1.0)
Suggests: learnr, palmerpenguins, testthat (>= 3.0.0), knitr,
        rmarkdown, MASS, covr
VignetteBuilder: knitr
Config/testthat/edition: 3
URL: https://github.com/clement-lee/ggspec
BugReports: https://github.com/clement-lee/ggspec/issues
NeedsCompilation: no
Packaged: 2026-05-21 10:14:20 UTC; ntl34
Repository: CRAN
Date/Publication: 2026-05-28 11:30:07 UTC
Built: R 4.5.2; ; 2026-05-28 12:38:32 UTC; unix
