Skip to content

Commit

Permalink
Merge pull request #30 from ScotGovAnalysis/dev
Browse files Browse the repository at this point in the history
Fix broken links and update roxygen version
  • Loading branch information
alice-hannah authored Mar 15, 2024
2 parents 4a88616 + ebeeb08 commit c32fb08
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
^docs$
^pkgdown$
^doc$
^Meta$
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
docs
inst/doc
/doc/
/Meta/
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: sgplot
Title: Graphic Styles and Colours for Scottish Government Plots
Version: 0.2.1
Version: 0.2.2
Authors@R: c(
person("Scottish Government", , , "statistics.enquiries@gov.scot", role = c("cph", "fnd")),
person("Alice", "Byers", , "alice.byers@gov.scot", c("aut", "cre"))
Expand All @@ -13,7 +13,7 @@ URL:
BugReports: https://github.com/ScotGovAnalysis/sgplot/issues
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Depends:
R (>= 2.10)
Imports:
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# sgplot 0.2.2

* Fix links to contributing guidance in vignettes

* Update required `roxygen` version

# sgplot 0.2.1

* Fix issue where `scale_` functions didn't work without the package being loaded (#26)
Expand Down
2 changes: 1 addition & 1 deletion vignettes/colours.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ If so, this should be carefully considered to ensure it meets accessibility requ
The Analysis Function guidance outlines [appropriate steps for choosing your own accessibile colour palette](https://analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-colours-in-charts/#section-9) and should be used.

An example of how to use an alternative colour palette is provided in the [cookbook](https://scotgovanalysis.github.io/sgplot/articles/cookbook.html#using-your-own-colour-palette).
However, if you use a different palette regularly and feel it would be useful for this to be added to sgplot, please make a suggestion as per the [contributing guidance](https://scotgovanalysis.github.io/sgplot/CONTRIBTUING.html).
However, if you use a different palette regularly and feel it would be useful for this to be added to sgplot, please make a suggestion as per the [contributing guidance](https://scotgovanalysis.github.io/sgplot/CONTRIBUTING.html).


## Viewing Palettes in R
Expand Down
2 changes: 1 addition & 1 deletion vignettes/cookbook/_colour-palettes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ gapminder |>

#### Adding a new colour palette to sgplot

If you use a different palette regularly and feel it would be useful for this to be added to sgplot, please make a suggestion as per the [contributing guidance](https://scotgovanalysis.github.io/sgplot/CONTRIBTUING.html).
If you use a different palette regularly and feel it would be useful for this to be added to sgplot, please make a suggestion as per the [contributing guidance](https://scotgovanalysis.github.io/sgplot/CONTRIBUTING.html).

0 comments on commit c32fb08

Please sign in to comment.