sgplot 0.4.0
CRAN release: 2025-05-27
use_sgplot()gains apalette_typeargument to set default palette type for geoms. The default value is “sg” to use Scottish Government colour palettes. To use the Social Security Scotland palette type, for example, use:use_sgplot(palette_type = "sss")(#34).The
default_colourargument ofuse_sgplot()is deprecated in favour of thepalette_typeargument (#34).
sgplot 0.3.0
Add Social Security Scotland colours (
sss_colour_values) and palettes (sss_colour_palettes).Fix bug in
use_sgplot()when passing arguments totheme_sg().
sgplot 0.2.1
Fix issue where
scale_functions didn’t work without the package being loaded (#26).Add link to
theme_sg()inuse_sgplot()help file.
sgplot 0.2.0
Reduce
base_line_sizeintheme_sg().Remove default dark blue outline from
geom_colandgeom_barwhen usinguse_sgplot().
sgplot 0.1.0
First package release.
Add functions to create accessible plots using
ggplot2.Add pkgdown site (https://ScotGovAnalysis.github.io/sgplot) including cookbook.