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