From 50997f0bf9cf041f07a0c65a34a233a8608659a0 Mon Sep 17 00:00:00 2001 From: Steven Pawley Date: Thu, 18 Jul 2024 12:08:07 -0600 Subject: [PATCH] Fix broken test --- tests/testthat/test-tools.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-tools.R b/tests/testthat/test-tools.R index 538b365..924060b 100644 --- a/tests/testthat/test-tools.R +++ b/tests/testthat/test-tools.R @@ -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,