Skip to content

Plotting 'ggplot2' Graphics in an 'XKCD' Style

0packages depend
5.7Kdownloads / year
93.7%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 3.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-25
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 537 wordsVignettesYes · 3 · dynamicNEWSYes · 33% structuredCitation fileNoWebsiteYes · pkgdown
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

5.7K
CRAN downloads in the past year
Rank #7,147 · ~16/day · ~478/mo
Daily download trend is not available in this view yet.
39730 days
1.2K90 days
5.7K1 year
Compare downloads with other packages →
Also on165 r2u4 autocran

Repository

4Stars
1Forks
0Open issues
0Open PRs
1Releases
30Commits
1Commit identities
ggplot2-themesr-packagetidyversexkcdcrancran-r
30 commits · Last activity 2026-08-19 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-11-24 · 12026-07-07 · 4
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
pkgdown
Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

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.

Depends (2)
R >= 4.0ggplot2
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Contributor, Maintainer since 0.1.0 (2025) · added in 0.1.0
Author · added in 0.0.4

Previously maintained by Emilio Torres-Manzanera (0.0.1 to 0.0.6).

Listed in earlier versions (1)
no longer listed · 3.0.1 to 3.0.3
Releases (10)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • unarchivedReturned to CRAN
    2025-11-19
  • archivedRemoved from CRAN
    2025-09-09
    requires archived package 'extrafont'
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0.3Latest
    record
    2014-03-05 · current release · diff ↗
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")
Toledo, E., & Torres-Manzanera, E. (2026). xkcd: Plotting 'ggplot2' Graphics in an 'XKCD' Style (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for xkcd version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy