hairline: Clean, Predictable Figures for Medical and Data Science

A design system for 'ggplot2' figures: one frame for titles, legends, panels and captions, a fixed spacing and type scale, colour-vision checked palettes, brand files in the 'brand.yml' format, and print-ready export. Produces output matching the 'hairline' Python package.

Version: 0.1.0
Depends: R (≥ 4.3)
Imports: S7, ggplot2 (≥ 4.0.0), grid, grDevices, jsonlite, ragg, rlang, systemfonts, textshaping, tools, utils, yaml
Suggests: cowplot, metafor, patchwork, png, rsvg, survival, svglite, testthat (≥ 3.0.0), withr
Published: 2026-10-28
DOI: 10.32614/CRAN.package.hairline (may not be active yet)
Author: Nikolas Schrader ORCID iD [aut, cre, cph]
Maintainer: Nikolas Schrader <hi at nikolasschrader.com>
BugReports: https://github.com/schradern/hairline/issues
License: MIT + file LICENSE
Copyright: The bundled 'Hairline Sans' font is a modified Public Sans, Copyright 2015 The Public Sans Project Authors, under the SIL Open Font License 1.1; see inst/COPYRIGHTS.
hairline copyright details
URL: https://github.com/schradern/hairline
NeedsCompilation: no
Citation: hairline citation info
Materials: README, NEWS
CRAN checks: hairline results

Documentation:

Reference manual: hairline.html , hairline.pdf

Downloads:

Package source: hairline_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=hairline to link to this page.