Skip to content

Commit 5f8eb66

Browse files
committed
Deploying to gh-pages from @ b0dbc11 🚀
1 parent 9279900 commit 5f8eb66

File tree

7 files changed

+33
-14
lines changed

7 files changed

+33
-14
lines changed

dev/articles/cookbook.html

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

dev/news/index.html

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

dev/news/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## sgplot (development version)
44

5+
- Deprecate `na_colour` arguments in
6+
[`scale_fill_continuous_sg()`](https://ScotGovAnalysis.github.io/sgplot/dev/reference/scale_colour_continuous_sg.md)/
7+
[`scale_colour_continuous_sg()`](https://ScotGovAnalysis.github.io/sgplot/dev/reference/scale_colour_continuous_sg.md)
8+
functions in favour of new argument, `na.value`
9+
([\#73](https://github.com/ScotGovAnalysis/sgplot/issues/73)).
10+
511
- Vignettes are converted to articles. Vignettes are now not available
612
to view locally and only via the [pkgdown
713
site](https://scotgovanalysis.github.io/sgplot/)

dev/pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ articles:
66
articles/colours: colours.html
77
articles/cookbook: cookbook.html
88
articles/saving: saving.html
9-
last_built: 2026-01-08T10:35Z
9+
last_built: 2026-01-12T09:43Z
1010
urls:
1111
reference: https://ScotGovAnalysis.github.io/sgplot/reference
1212
article: https://ScotGovAnalysis.github.io/sgplot/articles

dev/reference/scale_colour_continuous_sg.html

Lines changed: 11 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/reference/scale_colour_continuous_sg.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ scale_colour_continuous_sg(
99
palette = "sequential",
1010
palette_type = "sg",
1111
reverse = FALSE,
12-
na_colour = "grey50",
12+
na.value = "grey50",
1313
guide = "colourbar",
14-
...
14+
...,
15+
na_colour = deprecated()
1516
)
1617

1718
scale_fill_continuous_sg(
1819
palette = "sequential",
1920
palette_type = "sg",
2021
reverse = FALSE,
21-
na_colour = "grey50",
22+
na.value = "grey50",
2223
guide = "colourbar",
23-
...
24+
...,
25+
na_colour = deprecated()
2426
)
2527
```
2628

@@ -41,7 +43,7 @@ scale_fill_continuous_sg(
4143

4244
Boolean value to indicate whether the palette should be reversed.
4345

44-
- na_colour:
46+
- na.value:
4547

4648
Colour to set for missing values.
4749

@@ -53,6 +55,10 @@ scale_fill_continuous_sg(
5355

5456
Additional arguments passed to scale type.
5557

58+
- na_colour:
59+
60+
**\[deprecated\]** Use `na.value` instead.
61+
5662
## Value
5763

5864
ggplot2 continuous colour/fill scale

dev/search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)