Provides custom geoms and themes to create charts and graphics in the distinctive, hand-drawn 'XKCD' webcomic style using the 'ggplot2' framework. The package utilizes custom layers for jittered lines, segments, circles, and figures, and includes a theme that supports the necessary 'XKCD' font.
| Version: | 0.1.1 |
| Depends: | R (≥ 4.0), ggplot2 (≥ 3.4.0) |
| Imports: | Hmisc, stats, grid, extrafont |
| Suggests: | knitr, rmarkdown, zoo, reshape, splancs, pkgdown, palmerpenguins, dplyr, ggrepel, systemfonts, covr, testthat (≥ 3.0.0) |
| Published: | 2026-08-20 |
| DOI: | 10.32614/CRAN.package.xkcd |
| Author: | Emilio Torres-Manzanera [aut], Enrique Toledo [ctb, cre] |
| Maintainer: | Enrique Toledo <enriquetoledo at gmail.com> |
| BugReports: | https://github.com/ToledoEM/xkcd/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/ToledoEM/xkcd, https://toledoem.github.io/xkcd/ |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | xkcd results |
| Reference manual: | xkcd.html , xkcd.pdf |
| Vignettes: |
xkcd figure: The Stick Figure Guide (source, R code) xkcd: XKCD Style Graphics (source, R code) Palmer Penguins with xkcd (source, R code) |
| Package source: | xkcd_0.1.1.tar.gz |
| Windows binaries: | r-devel: xkcd_0.1.0.zip, r-release: xkcd_0.1.0.zip, r-oldrel: xkcd_0.1.0.zip |
| macOS binaries: | r-release (arm64): xkcd_0.1.0.tgz, r-oldrel (arm64): xkcd_0.1.1.tgz, r-release (x86_64): xkcd_0.1.0.tgz, r-oldrel (x86_64): xkcd_0.1.1.tgz |
| Old sources: | xkcd archive |
Please use the canonical form https://CRAN.R-project.org/package=xkcd to link to this page.