From 0643c3c9ca3467937a7bed7bd5c55c5d00a18103 Mon Sep 17 00:00:00 2001 From: Eliot McIntire Date: Tue, 27 Oct 2026 10:39:49 -0700 Subject: [PATCH] Track canClimateData.html: .gitignore ignores only vignettes/*.html Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014G18Mik3fH4z5M5CyMSUS6 --- .gitignore | 4 +++- NEWS.md | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 54c20b3..1cd6c8a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,9 @@ .Rhistory .RData .Ruserdata -*.html +## not the module's own rendered .Rmd: the render-module-rmd workflow commits +## .html back to the branch, as in every other fireSense module. +vignettes/*.html .secrets canClimateData2.Rmd diff --git a/NEWS.md b/NEWS.md index 74f724e..fd68fc7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,6 @@ # canClimateData (development version) +- `.gitignore` ignores only `vignettes/*.html`, not every `*.html`, so the render-module-rmd workflow can commit `canClimateData.html` (its "Commit rendered files" step failed on the ignored file). - Fixed: the `Cache()` of `prepClimateLayers()` in `Init()` (canClimateData.R) named the module's local variables (`climatePath`, `climatePathOut`) in `omitArgs` instead of the function's formal arguments (`srcdir`, `dstdir`), so nothing was omitted and the folder paths stayed in the cache key. Changing the input or output folder (a new per-study-area folder, a different mount on another machine) re-prepared the climate data. The cache key changes, so every study area re-prepares its climate data once. The result is file-backed under `dstdir`; `reproducible` restores it under the current `outputPath` (or the cache) on a hit, so omitting `dstdir` is safe. # canClimateData 1.1.0