Skip to content

Commit a5eb218

Browse files
authored
Merge pull request #78 from ScotGovAnalysis/release-0.5.0
Release 0.5.0
2 parents 2facabc + c7c1dad commit a5eb218

File tree

6 files changed

+18
-19
lines changed

6 files changed

+18
-19
lines changed

DESCRIPTION

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
Package: sgplot
22
Title: Graphic Styles and Colours for Scottish Government Plots
3-
Version: 0.4.0.9000
3+
Version: 0.5.0
44
Authors@R: c(
55
person("Scottish Government", , , "[email protected]", role = c("cph", "fnd")),
66
person("Alice", "Hannah", , "[email protected]", role = c("aut", "cre"))
77
)
88
Description: A 'ggplot2' theme and colour palettes to create accessible
99
data visualisations in the Scottish Government.
1010
License: MIT + file LICENSE
11-
URL: https://github.com/ScotGovAnalysis/sgplot/,
12-
https://ScotGovAnalysis.github.io/sgplot/
11+
URL: https://ScotGovAnalysis.github.io/sgplot/, https://github.com/ScotGovAnalysis/sgplot
1312
BugReports: https://github.com/ScotGovAnalysis/sgplot/issues
1413
Depends:
1514
R (>= 2.10)

NEWS.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
# sgplot (development version)
1+
# sgplot 0.5.0
22

3-
* Deprecate `na_colour` arguments in `scale_fill_continuous_sg()`/
4-
`scale_colour_continuous_sg()` functions in favour of new argument, `na.value`
3+
* `use_sgplot()` gains a `quietly` argument to allow messages to be suppressed
4+
(#67).
5+
6+
* `na_colour` arguments are deprecated in `scale_fill_continuous_sg()`/
7+
`scale_colour_continuous_sg()` in favour of new argument, `na.value`
58
(#73).
69

10+
* Fixed bug where `use_sgplot()` could not handle passing multiple arguments of
11+
different types to `theme_sg()` (#63).
12+
713
* Vignettes are converted to articles. Vignettes are now not available to view
814
locally and only via the
915
[pkgdown site](https://scotgovanalysis.github.io/sgplot/) (#66).
1016

11-
* Add `quietly` argument to `use_sgplot()` to allow messages to be suppressed
12-
(#67).
13-
14-
* Set minimum version of ggplot (>= 3.5.0) (#62).
15-
16-
* Fix bug where `use_sgplot()` could not handle passing multiple arguments of
17-
different types to `theme_sg()` (#63).
18-
1917
# sgplot 0.4.0
2018

2119
* `use_sgplot()` gains a `palette_type` argument to set default palette type

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Titles, subtitles and captions have been embedded in these example charts for de
137137

138138
## Related package
139139

140-
sgplot is the basis for the [afcharts](https://best-practice-and-impact.github.io/afcharts) package, developed by the [Government Analysis Function](https://analysisfunction.civilservice.gov.uk/). The packages remain similar, with both following the [Analysis Function Data Visualisation guidance](https://analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-charts/), however sgplot also uses guidance from the [Scottish Government Design System](https://designsystem.gov.scot/guidance/charts/data-visualisation-colour-palettes).
140+
sgplot is the basis for the [afcharts](https://best-practice-and-impact.github.io/afcharts/) package, developed by the [Government Analysis Function](https://analysisfunction.civilservice.gov.uk/). The packages remain similar, with both following the [Analysis Function Data Visualisation guidance](https://analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-charts/), however sgplot also uses guidance from the [Scottish Government Design System](https://designsystem.gov.scot/guidance/charts/data-visualisation-colour-palettes).
141141

142142
Scottish Government analysts should continue to use sgplot, rather than afcharts.
143143

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ article](https://ScotGovAnalysis.github.io/sgplot/articles/accessibility.html#ot
141141
## Related package
142142

143143
sgplot is the basis for the
144-
[afcharts](https://best-practice-and-impact.github.io/afcharts) package,
145-
developed by the [Government Analysis
144+
[afcharts](https://best-practice-and-impact.github.io/afcharts/)
145+
package, developed by the [Government Analysis
146146
Function](https://analysisfunction.civilservice.gov.uk/). The packages
147147
remain similar, with both following the [Analysis Function Data
148148
Visualisation

cran-comments.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
0 errors | 0 warnings | 0 notes
44

5-
* This is a new release.
5+
## revdepcheck results
6+
7+
There are currently no downstream dependencies for this package.

man/sgplot-package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)