diff --git a/tests/testthat/test-create.R b/tests/testthat/test-create.R index fcbbc80f..b9fc2e87 100644 --- a/tests/testthat/test-create.R +++ b/tests/testthat/test-create.R @@ -1,6 +1,6 @@ ex <- c(10, 20, -10, 20) test_that("create works", { - expect_output(vapour_create(tf <- tempfile(fileext = ".tif"), dimension = c(10, 5), extent = ex)) |> expect_equal(tf) + expect_silent(vapour_create(tf <- tempfile(fileext = ".tif"), dimension = c(10, 5), extent = ex)) |> expect_equal(tf) expect_silent(info <- vapour_raster_info(tf)) expect_equal(info$extent, ex) expect_equal(info$dimension, c(10, 5))