We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce6014 commit e91faa6Copy full SHA for e91faa6
tests/testthat/test-labels.r
@@ -8,6 +8,11 @@ test_that("Setting guide labels", {
8
expect_identical(ylab("my label")$y, "my label")
9
expect_identical(labs(y = "my label")$y, "my label")
10
11
+ # Plot titles
12
+ expect_identical(labs(title = "my title")$title, "my title")
13
+ expect_identical(labs(title = "my title",
14
+ subtitle = "my subtitle")$subtitle, "my subtitle")
15
+
16
# Colour
17
expect_identical(labs(colour = "my label")$colour, "my label")
18
# American spelling
0 commit comments