Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpawley committed Jul 18, 2024
1 parent 2054bba commit 50997f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-tools.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ testthat::test_that("basic SAGA-GIS tool usage ", {
)

vers <- saga_version(search_saga())
fileext <- ifelse(vers < 7.0, ".shp", ".gpkg")
fileext <- ifelse(vers < "7.0", ".shp", ".gpkg")
tempfile <- tempfile(fileext = fileext)

tool <- ifelse(vers >= 9.2, "vectorizing_grid_classes", "vectorising_grid_classes")
tool <- ifelse(vers >= "9.2", "vectorizing_grid_classes", "vectorising_grid_classes")
shapes <-
saga$shapes_grid[[tool]](
grid = categories,
Expand Down

0 comments on commit 50997f0

Please sign in to comment.