Skip to content

rbranding

0.1.1Package record

Manage Branding and Accessibility of R Projects

0packages depend
2.3Kdownloads / year
52.1%test coverage
11/13flavors OK

Overview

About
Maintained by Willy RayCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: Centers for Disease Control and Prevention's Center for Forecasting and Outbreak Analytics

A tool for building projects that are visually consistent, accessible, and easy to maintain. It provides functions for managing branding assets, applying organization-wide themes using 'brand.yml', and setting up new projects with accessibility features and correct branding. It supports 'quarto', 'shiny', and 'rmarkdown' projects, and integrates with 'ggplot2'. The accessibility features are based on the Web Content Accessibility Guidelines https://www.w3.org/WAI/WCAG22/quickref/?versions=2.1 and Accessible Rich Internet Applications (ARIA) specifications https://www.w3.org/WAI/ARIA/apg/. The branding framework implements the 'brand.yml' specification https://posit-dev.github.io/brand-yml/.

Install

Health

CRAN checks
2ERROR11OK
Check messages
ERRORexamplesr-release-macos-arm64, r-release-macos-x86_64

r-release-macos-arm64

Running examples in ‘rbranding-Ex.R’ failed
The error most likely occurred in:

> ### Name: brand_add_logo
> ### Title: Add Brand Logo to ggplot2 Plot
> ### Aliases: brand_add_logo
> 
> ### ** Examples
> 
> {
+ # First set the brand theme to load configuration
+ old_wd <- getwd()
+ setwd(tempdir()) # Change to temp directory for example
+ brand_init()
+ get_brand_public()
+ get_template("blank")
+ brand_set_ggplot()
+ 
+ # Create a plot and add logo
+ library(ggplot2)
+ ggplot(mtcars, aes(x = mpg, y = wt)) +
+   geom_point() +
+   labs(title = "Example Plot") +
+   brand_add_logo()
+ 
+ # Customize logo position and size
+ ggplot(mtcars, aes(x = mpg, y = wt)) +
+   geom_point() +
+   labs(title = "Example Plot") +
+   brand_add_logo(x = 0.1, y = 0.9, size = 0.08)
+ 
+ setwd(old_wd) # Restore original working directory
+ }
Created files './rbranding_config.yml' and placeholder '_brand.yml' in current working directory
Checking remote version... 
Local branding file overwritten with remote file
Copied blank.txt to /Volumes/Temp/tmp/RtmpKtwRFh
Copied icon.png to /Volumes/Temp/tmp/RtmpKtwRFh
Copied logo.png to /Volumes/Temp/tmp/RtmpKtwRFh
Brand theme applied successfully!
Error in brand_add_logo() : 
  No logo information found in brand configuration.
Execution halted

r-release-macos-x86_64

Running examples in ‘rbranding-Ex.R’ failed
The error most likely occurred in:

> ### Name: brand_add_logo
> ### Title: Add Brand Logo to ggplot2 Plot
> ### Aliases: brand_add_logo
> 
> ### ** Examples
> 
> {
+ # First set the brand theme to load configuration
+ old_wd <- getwd()
+ setwd(tempdir()) # Change to temp directory for example
+ brand_init()
+ get_brand_public()
+ get_template("blank")
+ brand_set_ggplot()
+ 
+ # Create a plot and add logo
+ library(ggplot2)
+ ggplot(mtcars, aes(x = mpg, y = wt)) +
+   geom_point() +
+   labs(title = "Example Plot") +
+   brand_add_logo()
+ 
+ # Customize logo position and size
+ ggplot(mtcars, aes(x = mpg, y = wt)) +
+   geom_point() +
+   labs(title = "Example Plot") +
+   brand_add_logo(x = 0.1, y = 0.9, size = 0.08)
+ 
+ setwd(old_wd) # Restore original working directory
+ }
Created files './rbranding_config.yml' and placeholder '_brand.yml' in current working directory
Checking remote version... 
Local branding file overwritten with remote file
Copied blank.txt to /Volumes/Temp/tmp/Rtmpc6pDgQ
Copied icon.png to /Volumes/Temp/tmp/Rtmpc6pDgQ
Copied logo.png to /Volumes/Temp/tmp/Rtmpc6pDgQ
Brand theme applied successfully!
Error in brand_add_logo() : 
  No logo information found in brand configuration.
Execution halted
ERRORtestsr-release-macos-arm64, r-release-macos-x86_64

r-release-macos-arm64

Running ‘tinytest.R’ [1s/1s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   tinytest::test_package("rbranding")
  + }
  
  test_brand_init.R.............    0 tests    
  test_brand_init.R.............    1 tests OK 
  test_brand_init.R.............    1 tests OK 
  test_brand_init.R.............    1 tests OK 
  test_brand_init.R.............    2 tests OK 
  test_brand_init.R.............    3 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    5 tests OK 
  test_brand_init.R.............    6 tests OK 
  test_brand_init.R.............    6 tests OK 
  test_brand_init.R.............    7 tests OK 
  test_brand_init.R............
...[truncated]...
tests    Brand theme applied successfully!
  
  test_ggplot2.R................    1 tests OK 
  test_ggplot2.R................    1 tests OK 
  test_ggplot2.R................    2 tests OK ggplot2 theme reset to previous state.
  
  test_ggplot2.R................    3 tests OK 
  test_ggplot2.R................    4 tests OK Brand theme applied successfully!
  
  test_ggplot2.R................    4 tests OK 
  test_ggplot2.R................    5 tests OK ggplot2 theme reset to previous state.
  
  test_ggplot2.R................    5 tests OK 
  test_ggplot2.R................    5 tests OK 
  test_ggplot2.R................    5 tests OK 
  test_ggplot2.R................    6 tests OK 
  test_ggplot2.R................    6 tests OK 
  test_ggplot2.R................    6 tests OK 0.4s
  ----- FAILED[data]: test_get_brand.R<15--15>
   call| expect_equal("rbranding", brand_contents_1$meta$name)
   diff| Expected 'ForeSITE', got 'rbranding'
  Error: 1 out of 25 tests failed
  Execution halted

r-release-macos-x86_64

Running ‘tinytest.R’ [2s/3s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   tinytest::test_package("rbranding")
  + }
  
  test_brand_init.R.............    0 tests    
  test_brand_init.R.............    1 tests OK 
  test_brand_init.R.............    1 tests OK 
  test_brand_init.R.............    1 tests OK 
  test_brand_init.R.............    2 tests OK 
  test_brand_init.R.............    3 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    4 tests OK 
  test_brand_init.R.............    5 tests OK 
  test_brand_init.R.............    6 tests OK 
  test_brand_init.R.............    6 tests OK 
  test_brand_init.R.............    7 tests OK 
  test_brand_init.R............
...[truncated]...
tests    Brand theme applied successfully!
  
  test_ggplot2.R................    1 tests OK 
  test_ggplot2.R................    1 tests OK 
  test_ggplot2.R................    2 tests OK ggplot2 theme reset to previous state.
  
  test_ggplot2.R................    3 tests OK 
  test_ggplot2.R................    4 tests OK Brand theme applied successfully!
  
  test_ggplot2.R................    4 tests OK 
  test_ggplot2.R................    5 tests OK ggplot2 theme reset to previous state.
  
  test_ggplot2.R................    5 tests OK 
  test_ggplot2.R................    5 tests OK 
  test_ggplot2.R................    5 tests OK 
  test_ggplot2.R................    6 tests OK 
  test_ggplot2.R................    6 tests OK 
  test_ggplot2.R................    6 tests OK 1.3s
  ----- FAILED[data]: test_get_brand.R<15--15>
   call| expect_equal("rbranding", brand_contents_1$meta$name)
   diff| Expected 'ForeSITE', got 'rbranding'
  Error: 1 out of 25 tests failed
  Execution halted

CRAN check page ↗

Slowest check: 1.6 min · r-oldrel-windows-x86_64
Status changes
  • ERROR11 OK, 2 ERRORNow
  • ERROR11 OK, 3 ERROR2026-04-09
  • OK14 OK2026-03-29
  • ERROR13 OK, 1 ERROR2026-03-17
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 406 wordsVignettesYes · 3 · dynamicNEWSYes · 67% structured · does not mention 0.1.1Citation fileNoWebsiteYes · pkgdown
Help pages
7
Examples that run
100%7 run in a plain check (3 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #20,047 · ~6/day · ~191/mo
Daily download trend is not available in this view yet.
22630 days
66590 days
2.3K1 year
Compare downloads with other packages →
Also on77 r2u7 autocran

Repository

5Stars
1Forks
10Open issues
0Open PRs
2Releases
167Commits
6Commit identities
167 commits · Last activity 2026-10-03 · 0% stars, 30d · Default branch at 0.1.1.9000, ahead of CRAN 0.1.1 (checked 2026-10-22) · Discussions: 1 post
Responsiveness
How these are sampled
PRs merged (all time)
97%
Median days to close, 50 most recently updated closed issues
7
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-12-11 · 12026-07-17 · 5
PracticesBeta

13 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/epiforesite/rbranding on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (3)
Code of conductContributing guideCODEOWNERS
Docs source (4)
README.qmdpkgdown

GitHub Pages site last deployed 2026-10-03 · The repository has a site deploy workflow

pkgdown site last built 2026-10-03

Reproducibility and dev environment (2)
MakefileDev Container
Show all practicesHide 2 practices
Automation and maintenance (1)
pre-commit
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2025-08-21
    Seen in the repository: .github/copilot-instructions.md
    Pull request: opened by its own account
    Commits: 10 by its own account
  • Claude Codefirst seen 2025-10-20
    Named in .gitignore: .claude
    Pull request it wrote: opened by a project member
    Commits: at least 2 crediting it in the message
Review tools
  • Copilot code review
    Commits: at least 1 accepting its review suggestions
Models named in its commits
  • Claude Opus 5.51 commit · Sep 2026
  • Claude Sonnet 5.51 commit · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing rbranding adds 24 packages (13 with compiled code, 17 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (0)
none
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.1.0 (2025)
Author, Contributor
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    record
    2025-12-09 · current release · diff ↗
  • 0.1.0
    record
    2025-11-21
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-11-21
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Download size
1.9 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rbranding")
Ray, W., Centers for Disease Control and Prevention's Center for Forecasting and Outbreak Analytics, & Pulsipher, A. (2025). rbranding: Manage Branding and Accessibility of R Projects (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.rbranding

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 rbranding version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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