From db92bb3c143ae21375cd1a2261c648d5d2d308d0 Mon Sep 17 00:00:00 2001 From: Eliot McIntire Date: Thu, 10 Sep 2026 19:33:45 -0700 Subject: [PATCH] test: ignitionFirePoints is a SpatVector in the metadata snapshot #15 changed expectsInput("ignitionFirePoints") and createsOutput() from "sf" to "SpatVector". test-metadata.R was generated before that and still asserted "sf", so testthat-module has failed on development since #14 merged (run 34554356193): exactly one mismatch in the inputs and one in the outputs. #14's own checks were green because they ran against the pre-#15 base, and re-running them reused that merge ref. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_0133867aFrmKtbhpNXasToP9 --- tests/testthat/test-metadata.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-metadata.R b/tests/testthat/test-metadata.R index 7b5fb40..ef18b2a 100644 --- a/tests/testthat/test-metadata.R +++ b/tests/testthat/test-metadata.R @@ -23,7 +23,7 @@ test_that("inputs are the expected names and classes", { firePolysForAge = "list", historicalClimateRasters = "list", historicalFireRaster = "SpatRaster", - ignitionFirePoints = "sf", + ignitionFirePoints = "SpatVector", missingLCCgroup = "character", nonForestedLCCGroups = "list", pixelGroupMaps = "list", @@ -60,7 +60,7 @@ test_that("outputs are the expected names and classes", { flammableRTM = "SpatRaster", flammableRTMs = "list", fuelClassTable = "data.table", - ignitionFirePoints = "sf", + ignitionFirePoints = "SpatVector", ignitionFitRTM = "SpatRaster", landcoverDT = "data.table", landcoverDTs = "list",