Unified Data Visualization Framework for Dynamic and Static Graphics
Overview
Provides a unified API for creating data visualizations across dynamic and static rendering modes. Visualizations are defined once using a specification object and can be rendered with 'highcharter', 'ggplot2', or other supported packages without modifying user code. The package supports declarative and layered workflows, reusable themes and colour palettes, optional 'JavaScript' enhancements, export tools, and interactive exploration through 'shiny' applications.
- Add
hd_reset_theme()function (#21) - Add venn diagram with
gg_vennorhc_vennbackends. - New feature added to support for
```r
hd_make(mode = "dynamic")
hd_make(mode = "static")
or equivalent functions
hd(mode = "dynamic")
hd(mode = "static")
```
dynamic replaces the previous highcharter backend and static replaces the previous ggplot2 backend.
- Renamed the
stackargument tofacetinhd_geom_stacked_column()to avoid ambiguity with R's partial matching behavior (#27).
Show all changes in 0.6.0Hide the rest of the changes in 0.6.0
- Improved the static implementation of
hd_geom_ranked_bar()by switching fromggplot2::geom_bar(stat = "identity")toggplot2::geom_col(). This does not change the visual output but clarifies that ranked bars are drawn from pre-computed values.
Breaking changes
- Introduced a new mode argument with values "dynamic" and "static" to replace backend-specific values.
- The
backendargument inhd_make()andhd()functions is now deprecated and will be removed in a future release. - Existing code using:
```r
hd_make(backend = "highcharter")
hd_make(backend = "ggplot2")
or equivalent functions
hd(backend = "highcharter")
hd(backend = "ggplot2")
```
continues to work but produces a deprecation warning.
- The
stackargument inhd_geom_stacked_column()has been renamed tofacet. Update existing code to usefacetinstead ofstack.
From NEWS.md in the release
Install
Health
ERRORwhether package can be installedr-devel-linux-x86_64-fedora-clang
Installation failed. See ‘/data/localhost/ripley/R/packages/tests-clang/highdir.Rcheck/00install.out’ for details.
- ERROR12 OK, 1 ERROR2026-10-24
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
Show 1 earlier changeHide 1 earlier change
- OK7 OK2026-05-28
Documentation
- Help pages
- 54 (17 internal)includes a package overview page
- Examples that run
- 93%25 run in a plain check (2 of them under a condition) · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 79%
- Documented parameters
- 100%
- Return-value docs
- 97%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Releases over time
Issues over time
Commits over time
9 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/folkehelsestats/highdir on 2026-10-21.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2026-09-09 · The repository has a site deploy workflow
Dependencies
Installing highdir adds 78 packages (43 with compiled code, 75 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.6.0Latest2026-07-31 · current release · diff ↗ ·
removed 1 export
list_backendsadded 9 exports
hd_geom_venn, hd_reset_theme, hd_spec_venn, hd_venn_df, hd_venn_intersect, hd_venn_set, hd_venn_sets_from_spec, list_modes, venn_df_to_list - 0.5.02026-05-27
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-05-27
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 2.7 KB / 2 files
- Download size
- 1.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("highdir")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-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.