Skip to content

Commit

Permalink
try to ignore vdiffr test on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielSlPires committed May 22, 2024
1 parent 2cb6f44 commit b6c66a2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/testthat/test-geom_daynight.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test_that("Basic usage with default parameters", {
geom_daynight() +
ggplot2::geom_point()

vdiffr::expect_doppelganger("Basic usage with default parameters", p)
expect_doppelganger("Basic usage with default parameters", p)
})

# Test for basic usage with faceting by sensor
Expand All @@ -16,7 +16,7 @@ test_that("Basic usage with faceting by sensor", {
ggplot2::geom_point() +
ggplot2::facet_wrap(ggplot2::vars(sensor))

vdiffr::expect_doppelganger("Basic usage with faceting by sensor", p)
expect_doppelganger("Basic usage with faceting by sensor", p)
})

# Test for usage with lines and color by sensor
Expand All @@ -26,7 +26,7 @@ test_that("Usage with lines and color by sensor", {
geom_daynight() +
ggplot2::geom_line()

vdiffr::expect_doppelganger("Usage with lines and color by sensor", p)
expect_doppelganger("Usage with lines and color by sensor", p)
})

# Test for custom day and night fill colors, custom sunrise and sunset times, and adjusted alpha
Expand All @@ -39,7 +39,7 @@ test_that("Custom day and night fill colors, custom sunrise and sunset times, an
) +
ggplot2::geom_line(linewidth = 1)

vdiffr::expect_doppelganger("Custom day and night fill colors", p)
expect_doppelganger("Custom day and night fill colors", p)
})

# Test for custom day and night fill colors, custom sunrise and sunset times, and adjusted alpha
Expand All @@ -52,7 +52,7 @@ test_that("Custom day and night fill colors, custom sunrise and sunset times, an
) +
ggplot2::geom_line(linewidth = 1)

vdiffr::expect_doppelganger("Custom day and night fill colors", p)
expect_doppelganger("Custom day and night fill colors", p)
})

# Test only daytime plot
Expand All @@ -69,7 +69,7 @@ test_that("Test only daytime plot", {
) +
ggplot2::geom_line(linewidth = 1)

vdiffr::expect_doppelganger("Only daytime", p)
expect_doppelganger("Only daytime", p)
})

# Test only nighttime plot
Expand All @@ -86,5 +86,5 @@ test_that("Test only nighttime plot", {
) +
ggplot2::geom_line(linewidth = 1)

vdiffr::expect_doppelganger("Only nighttime", p)
expect_doppelganger("Only nighttime", p)
})

0 comments on commit b6c66a2

Please sign in to comment.