Skip to content

Commit 295f5cb

Browse files
Optionally skip test requiring maptools (#6444)
1 parent 3aec34a commit 295f5cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testthat/test-coord-map.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ test_that("coord map throws error when limits are badly specified", {
5252
})
5353

5454
test_that("coord_map throws informative warning about guides", {
55+
skip_if_not_installed("mapproj")
5556
expect_snapshot_warning(
5657
ggplot_build(ggplot() + coord_map() + guides(x = guide_axis()))
5758
)

0 commit comments

Comments
 (0)