Skip to content

afcharts

0.5.1

Produce Charts Following UK Government Analysis Function Guidance

0packages depend
5.3Kdownloads / year
94.0%test coverage
13/13checks pass

Overview

About
Maintained by Olivia Box PowerFirst published 2024-11-063 releasesCRAN page ↗GitHub ↗

Colour palettes and a 'ggplot2' theme to follow the UK Government Analysis Function best practice guidance for producing data visualisations, available at https://analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-charts/. Includes continuous and discrete colour and fill scales, as well as a 'ggplot2' theme.

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 2.31
94.0%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 411 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
93%
Return-value docs
100%
References docs
0%

Downloads

5.3K
CRAN downloads in the past year
Rank #6,553 · ~15/day · ~441/mo
Daily download trend is not available in this view yet.
37930 days
1.3K90 days
5.3K1 year
Compare downloads with other packages →
Also on154 r2u60 autocran

Repository

Repository
28Stars
5Forks
10Open issues
2Open PRs
3Releases
403Commits
13Contributors
403 commits · Last activity 2026-08-10 · 0% stars, 30d

Stars over time

2025-06-19 · 242026-07-07 · 28

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/best-practice-and-impact/afcharts on 2026-08-23.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (2)
lintrRStudio project
Governance and community (1)
Support guide
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Maintainer, Contributor
Authors (1)
Contributors (1)
Maintainer, Contributor
Copyright holders (1)
Copyright holder
Funders (1)
Listed in earlier versions (1)
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.1Latest
    2026-02-26 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.1
    2025-01-13 · diff ↗
  • 0.4.0
    2024-11-06
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-11-06
Total releases
3 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
1.1 KB / 6 files
Download size
1.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("afcharts")
Box Power, O., Crown Copyright, Government Analysis Function, & Hannah, A. (2026). afcharts: Produce Charts Following UK Government Analysis Function Guidance (Version 0.5.1) [Computer software]. https://doi.org/10.32614/CRAN.package.afcharts

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 afcharts version 0.5.1 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, 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