Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a69ba8b

Browse filesBrowse files
skip test on pre-3.4.0 ggplot2 (#2204)
* skip test on pre-3.4.0 ggplot2 * also in test-ggplot-polygons.R
1 parent f9d6e43 commit a69ba8b
Copy full SHA for a69ba8b

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed

‎tests/testthat/test-ggplot-blank.R

Copy file name to clipboardExpand all lines: tests/testthat/test-ggplot-blank.R
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
test_that("geom_blank", {
3+
skip_if_not_installed("ggplot2", "3.4.0")
34
qp <- expect_warning(qplot(), "deprecated")
45
l <- ggplotly(qp)$x
56

‎tests/testthat/test-ggplot-polygons.R

Copy file name to clipboardExpand all lines: tests/testthat/test-ggplot-polygons.R
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ test_that("geom_polygon(aes(linetype), fill, color)", {
121121
})
122122

123123
test_that("geom_polygon(aes(size), fill, colour)", {
124+
skip_if_not_installed("ggplot2", "3.4.0")
124125
size_plot <- function() {
125126
ggplot(poly.df) +
126127
geom_polygon(aes(x, y, size = lab), fill = "orange", colour = "black") +

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.