Package: BFHtheme 0.5.2

Johan Reventlow

BFHtheme: BFH Theme and Color Palettes for ggplot2

Provides comprehensive theming support for ggplot2 graphics following Bispebjerg og Frederiksberg Hospital and Region Hovedstaden visual identity guidelines. Includes color palettes for both Hospital and Region H branding, themes, scale functions, and helper utilities for creating consistent and professional visualizations. Uses modern 'systemfonts' package for robust font detection with graceful fallback. Recommends 'ragg', 'svglite', and Cairo devices for high-quality output.

Authors:Johan Reventlow [aut, cre]

BFHtheme_0.5.2.tar.gz
BFHtheme_0.5.2.zip(r-4.7)BFHtheme_0.5.2.zip(r-4.6)BFHtheme_0.5.2.zip(r-4.5)
BFHtheme_0.5.2.tgz(r-4.6-any)BFHtheme_0.5.2.tgz(r-4.5-any)
BFHtheme_0.5.2.tar.gz(r-4.7-any)BFHtheme_0.5.2.tar.gz(r-4.6-any)
BFHtheme_0.5.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
BFHtheme/json (API)
NEWS

# Install 'BFHtheme' in R:
install.packages('BFHtheme', repos = c('https://johanreventlow.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/johanreventlow/bfhtheme/issues

On CRAN:

Conda:

5.83 score 1 packages 29 scripts 34 exports 25 dependencies

Last updated from:a71a64a643. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK163
source / vignettesOK212
linux-release-x86_64OK160
macos-release-arm64OK100
macos-oldrel-arm64OK94
windows-develOK120
windows-releaseOK103
windows-oldrelOK120
wasm-releaseOK113

Exports:add_bfh_footeradd_bfh_logobfh_colorsbfh_colsbfh_combine_plotsbfh_labsbfh_palbfh_palettesbfh_savebfh_title_blockget_bfh_fontget_bfh_logoreset_bfh_defaultsscale_color_bfhscale_color_bfh_continuousscale_color_bfh_discretescale_colour_bfhscale_colour_bfh_continuousscale_colour_bfh_discretescale_fill_bfhscale_fill_bfh_continuousscale_fill_bfh_discretescale_x_continuous_bfhscale_x_date_bfhscale_x_datetime_bfhscale_x_discrete_bfhscale_y_continuous_bfhscale_y_date_bfhscale_y_datetime_bfhscale_y_discrete_bfhset_bfh_defaultsshow_bfh_palettestheme_bfhuse_bfh_knitr_defaults

Dependencies:base64encclicpp11farverggplot2gluegtableisobandjpegjsonlitelabelinglifecyclemarqueepngR6RColorBrewerrlangS7scalesstringisystemfontstextshapingvctrsviridisLitewithr

Advanced Customization

Rendered fromcustomization.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-04-22
Started: 2025-10-14

Farvepaletter i BFHtheme

Rendered frompalette-overview.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-04-22
Started: 2025-10-14

Fejlfinding for BFHtheme

Rendered fromtroubleshooting.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-04-24
Started: 2025-10-14

Fonts and Typography in BFHtheme

Rendered fromfonts-and-typography.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2025-10-14
Started: 2025-10-14

Getting Started with BFHtheme

Rendered fromgetting-started.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2025-11-13
Started: 2025-10-14

Logoer og Branding i BFHtheme

Rendered fromlogo-and-branding.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-04-24
Started: 2025-10-14

Multi-Hospital Branding

Rendered fromtheming.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-04-22
Started: 2025-10-14

Readme and manuals

Help Manual

Help pageTopics
Add BFH Footer to a Plotadd_bfh_footer
Add BFH Logo to a Plotadd_bfh_logo
BFH Brand Color Definitionsbfh_colors
Extract BFH Colorsbfh_cols
Create a Multi-Panel Figure with Shared Legendbfh_combine_plots
BFH-Style Plot Labels with Automatic Uppercasebfh_labs
Interpolate a BFH Color Palettebfh_pal
BFH Color Palettes (Named List)bfh_palettes
Save a Plot with BFH Specificationsbfh_save
Create a Branded Title Blockbfh_title_block
Determine BFH Font Familyget_bfh_font
Get Path to the Packaged BFH Logoget_bfh_logo
Reset ggplot2 Defaultsreset_bfh_defaults
BFH Colour Scales for ggplot2scale_bfh scale_color_bfh scale_colour_bfh scale_fill_bfh
Continuous colour scales using specific BFH palettesscale_color_bfh_continuous scale_colour_bfh_continuous scale_fill_bfh_continuous
Discrete colour scales using specific BFH palettesscale_color_bfh_discrete scale_colour_bfh_discrete scale_fill_bfh_discrete
BFH Position Scales with Uppercase Labelsscale_position_bfh scale_x_continuous_bfh scale_x_datetime_bfh scale_x_date_bfh scale_x_discrete_bfh scale_y_continuous_bfh scale_y_datetime_bfh scale_y_date_bfh scale_y_discrete_bfh
Set BFH Defaults for ggplot2set_bfh_defaults
Visualise BFH Palettesshow_bfh_palettes
BFH ggplot2 Themetheme_bfh
Enable BFH knitr Defaults (Opt-in)use_bfh_knitr_defaults