Plotting 'ggplot2' Graphics in an 'XKCD' Style
Overview
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.
Install
Health
- OK13 OK2026-08-25
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 8 (1 internal)includes a package overview page
- Examples that run
- 0%4 never run
- Exported functions with examples
- 43%
- Documented parameters
- 100%
- Return-value docs
- 43%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Commits over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/toledoem/xkcd on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Installing xkcd adds 54 packages (27 with compiled code, 52 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
People & History
Previously maintained by Emilio Torres-Manzanera (0.0.1 to 0.0.6).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2025-11-19
- archivedRemoved from CRAN2025-09-09requires archived package 'extrafont'
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
Show 10 earlier eventsHide 10 earlier events
Package metadata
- First published
- 2013-05-15
- Total releases
- 10 / 13 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL-3 in 0.1.0
- Minimum R
- ≥ 4.0
- Download size
- 2.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("xkcd")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.