We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91a5a45 commit 3337d85Copy full SHA for 3337d85
tests/testthat/test-ggplot-area.R
@@ -3,8 +3,7 @@ context("Area")
3
huron <- data.frame(year=1875:1972, level=as.vector(LakeHuron))
4
huron$decade <- plyr::round_any(huron$year, 10, floor)
5
6
-ar <- ggplot(huron) +
7
- geom_area(aes(x=year, y=level))
+ar <- ggplot(huron) + geom_area(aes(x=year, y=level))
8
L <- gg2list(ar)
9
10
test_that("sanity check for geom_area", {
@@ -18,8 +17,7 @@ test_that("sanity check for geom_area", {
18
17
save_outputs(ar, "area")
19
20
# Test alpha transparency in fill color
21
-gg <- ggplot(huron) +
22
- geom_area(aes(x=year, y=level), alpha=0.4)
+gg <- ggplot(huron) + geom_area(aes(x=year, y=level), alpha=0.4)
23
L <- gg2list(gg)
24
25
test_that("transparency alpha in geom_area is converted", {
0 commit comments