Skip to content

Commit

Permalink
Condition tests on terra
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemahoney218 committed Apr 29, 2024
1 parent 9df933d commit 05bc9bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-multi_scale.R
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,7 @@ test_that("Passing arguments via `...` errors when using grids", {
})

test_that("ww_multi_scale with raster args can handle classification metrics (#60)", {
skip_if_not_installed("terra")
l1 <- terra::rast(matrix(sample(1:10, 100, TRUE), nrow = 10))
l2 <- l1

Expand All @@ -795,6 +796,7 @@ test_that("ww_multi_scale with raster args can handle classification metrics (#6
})

test_that("ww_multi_scale with raster data can handle classification metrics (#60)", {
skip_if_not_installed("terra")
l1 <- terra::rast(matrix(sample(1:10, 100, TRUE), nrow = 10))
l2 <- l1

Expand Down

0 comments on commit 05bc9bd

Please sign in to comment.