To cite package ‘ggspec’ in publications use:

Lee C (2026). ggspec: Extract and Compare 'ggplot2' Plot Specifications as Tidy Data Frames. R package version 0.1.0, https://github.com/clement-lee/ggspec.

Corresponding BibTeX entry:

  @Manual{,
    title = {ggspec: Extract and Compare 'ggplot2' Plot Specifications
      as Tidy Data Frames},
    author = {Clement Lee},
    year = {2026},
    note = {R package version 0.1.0},
    url = {https://github.com/clement-lee/ggspec},
  }