Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

Commit

Permalink
use .tif instead of .sdat
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s committed Aug 13, 2018
1 parent 6cfb35e commit 30f7a2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-run-qgis.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test_that("Test, if SAGA-algorithms are working?", {
data("dem")
params <- get_args_man(alg = "saga:sagawetnessindex", options = TRUE)
params$DEM <- dem
params$TWI <- file.path(tempdir(), "twi.sdat")
params$TWI <- file.path(tempdir(), "twi.tif")
saga_out_1 <- run_qgis(
"saga:sagawetnessindex", params = params,
show_output_paths = FALSE, load_output = TRUE
Expand All @@ -85,7 +85,7 @@ test_that("Test, if SAGA-algorithms are working?", {
saga_out_2 <- run_qgis(
"saga:sagawetnessindex",
DEM = dem,
TWI = file.path(tempdir(), "twi.sdat"),
TWI = file.path(tempdir(), "twi.tif"),
show_output_paths = FALSE, load_output = TRUE
)
# check if the output is a raster
Expand Down

0 comments on commit 30f7a2c

Please sign in to comment.