sgplot: Graphic Styles and Colours for Scottish Government Plots

A 'ggplot2' theme and colour palettes to create accessible data visualisations in the Scottish Government.

Version: 0.4.0
Depends: R (≥ 2.10)
Imports: cli, ggplot2, lifecycle, rlang, scales
Suggests: dplyr, gapminder, glue, gt, knitr, plotly, purrr, rmarkdown, stringr, testthat (≥ 2.1.0), tibble, tidyr
Published: 2025-05-27
DOI: 10.32614/CRAN.package.sgplot
Author: Scottish Government [cph, fnd], Alice Hannah [aut, cre]
Maintainer: Alice Hannah <alice.hannah at gov.scot>
BugReports: https://github.com/ScotGovAnalysis/sgplot/issues
License: MIT + file LICENSE
URL: https://github.com/ScotGovAnalysis/sgplot/, https://ScotGovAnalysis.github.io/sgplot/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: sgplot results

Documentation:

Reference manual: sgplot.pdf
Vignettes: Accessibility (source, R code)
Colours (source, R code)
Cookbook (source, R code)
Saving charts (source, R code)

Downloads:

Package source: sgplot_0.4.0.tar.gz
Windows binaries: r-devel: not available, r-release: sgplot_0.4.0.zip, r-oldrel: sgplot_0.4.0.zip
macOS binaries: r-release (arm64): sgplot_0.4.0.tgz, r-oldrel (arm64): sgplot_0.4.0.tgz, r-release (x86_64): sgplot_0.4.0.tgz, r-oldrel (x86_64): sgplot_0.4.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sgplot to link to this page.