From 30d46977a6df6dd72be82ea49198f67ef6f1ac39 Mon Sep 17 00:00:00 2001 From: Eliot McIntire Date: Wed, 18 Nov 2026 13:25:41 -0700 Subject: [PATCH] Messages: name the ledger file, not fitFileSuffix (removed) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Lx3DXgg187sAPQZwQT3Mf4 --- fireSense_ignitionPredict.R | 2 +- tests/testthat/test-multiELF.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fireSense_ignitionPredict.R b/fireSense_ignitionPredict.R index 3804812..226b0b0 100644 --- a/fireSense_ignitionPredict.R +++ b/fireSense_ignitionPredict.R @@ -294,7 +294,7 @@ stopIfStoredFitsProblem <- function(fits, covariates) { if (!is.null(problem)) stop("fireSense_ignitionPredict: the stored ", fitProcesses[[process]], " fit of ELF ", f$elf, " cannot predict these covariates: ", problem, ". Refit it (fireSense_ignitionFit `doFit = TRUE`) ", - "or choose a ledger made with these covariates (`fitFileSuffix`).", call. = FALSE) + "or name a ledger file made with these covariates (`ignitionFitFilename`).", call. = FALSE) } invisible(NULL) } diff --git a/tests/testthat/test-multiELF.R b/tests/testthat/test-multiELF.R index 205bcc6..094b13d 100644 --- a/tests/testthat/test-multiELF.R +++ b/tests/testthat/test-multiELF.R @@ -78,7 +78,7 @@ test_that("each ELF's pixels get that ELF's fitted year effect; an ELF without o test_that("a stored fit with features the covariates lack stops, naming its ELF, process and the features", { o <- multiInputs() o$fireSense_EscapeFittedList$B$modelList$model$Fold1$features <- c("MDC", "nonexistentCov") - expect_error(toyIgRun(o), "escape fit of ELF B.*nonexistentCov.*doFit = TRUE.*fitFileSuffix") + expect_error(toyIgRun(o), "escape fit of ELF B.*nonexistentCov.*doFit = TRUE.*ignitionFitFilename") o <- multiInputs() o$fireSense_IgnitionFittedList$A$modelList$model$Fold1$features <- "gone" expect_error(toyIgRun(o), "ignition fit of ELF A.*gone")