Skip to content

gghdx

HDX Theme, Scales, and Other Conveniences for 'ggplot2'

v0.1.4 · Sep 23, 2024 · GPL (>= 3)

Description

A Humanitarian Data Exchange (HDX) theme, color palettes, and scales for 'ggplot2' to allow users to easily follow the HDX visual design guide, including convenience functions for for loading and using the Source Sans 3 font.

Downloads

CRAN

321

Last 30 days

14118th

690

Last 90 days

3.1K

Last year

Trend: +111.2% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

25

Last 90 days

97

Last year

Trend: -88.9% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Seth Caldwell <caldwellst@gmail.com>’

Reading Rd files failed with message:
  cannot open the connection
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 28, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 16, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘gghdx.Rmd’ using rmarkdown

 *** caught segfault ***
address (nil), cause 'memory not mapped'

Traceback:
 1: grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y,     resolveHJust(x
...[truncated]...
::buildVignettes(dir = "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/gghdx.Rcheck/vign_test/gghdx",     skip = TRUE, ser_elibs = "/tmp/Rtmp324qzX/file15720b15fed39f.rds")
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

51 43 exported

Complexity

1.9 avg / 13 max

Call network

51 nodes / 85 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

3,231

Files

63

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,757 (54.4%)Tests 177 (5.5%)Docs 1,093 (33.8%)Vignettes 204 (6.3%)

API

Exported functions

59

Internal functions

8

Recent export changes

v0.1.4+1 format_number_hdx
v0.1.3+1 label_number_hdx

Testing & CI

Has tests

Yes

Test-to-code ratio

0.10

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

98.3%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2023-08-18

Latest release

2024-09-23

Avg cadence

132 days

Cold removal rate

Dep drift

1

LOC over versions

v0.1.1: 2,607 LOCv0.1.2: 2,924 LOCv0.1.3: 3,234 LOCv0.1.4: 3,231 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies dplyr ggplot2 ggthemes lifecycle magrittr purrr rlang showtext sysfonts tibble gghdx

Version History

5 tracked
new 0.1.4 Mar 10, 2026
updated 0.1.4 ← 0.1.3 diff Sep 22, 2024
updated 0.1.3 ← 0.1.2 diff May 13, 2024
updated 0.1.2 ← 0.1.1 diff Jan 21, 2024
new 0.1.1 Aug 17, 2023