You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we do it: the installed package loses 4.9 MB, about 40% of its 12.5 MB installed size. If we never do: every install carries a file nothing reads.
Problem
inst/extdata/context_kotl.gpkg is 4.9 MB. Nothing in R/, tests/, vignettes/ or README.md references it. The only mention is its producer, data-raw/example_context_kotl.R, plus a comment in data-raw/example_context_fwcp_peace.R. It dates from 3ece27c (2026-04-07, before the Kootenay Lake vignette). The vignette added in #57 uses context_kootenay_lake.gpkg, which appears to supersede it. example_aoi_kotl.gpkg is still used by the README example, so keep it.
Found by a code-check reviewer while verifying #100's tarball contents, and confirmed with git grep -n context_kotl.
Proposed Solution
Confirm context_kootenay_lake.gpkg supersedes it. Then delete inst/extdata/context_kotl.gpkg, and either delete data-raw/example_context_kotl.R or mark it superseded.
Rebuild and compare the tarball size before and after.
Supersession confirmed. The file's consumer, the KOTL vignette, was removed in Remove KOTL vignette — peace-fwcp is the canonical worked example #50. context_kootenay_lake.gpkg has all five of its layers, plus wsgs and ecoregions, over an area that contains KOTL. No reader exists in this repo or, per an org-wide code search, in any other.
Decision: deleted the producer, rather than marking it superseded. A kept script for a deleted output would recreate the 4.9 MB file if run. Git history keeps the recipe.
Measured: the tarball went from 7.15 to 3.83 MB (−46%), and the installed package from 12.8 to 7.9 MB (−38%). The installed figure matches the "about 40%" above. The download shrinks by less than 4.9 MB because the gpkg compresses.
If we do it: the installed package loses 4.9 MB, about 40% of its 12.5 MB installed size. If we never do: every install carries a file nothing reads.
Problem
inst/extdata/context_kotl.gpkgis 4.9 MB. Nothing inR/,tests/,vignettes/orREADME.mdreferences it. The only mention is its producer,data-raw/example_context_kotl.R, plus a comment indata-raw/example_context_fwcp_peace.R. It dates from3ece27c(2026-04-07, before the Kootenay Lake vignette). The vignette added in #57 usescontext_kootenay_lake.gpkg, which appears to supersede it.example_aoi_kotl.gpkgis still used by the README example, so keep it.Found by a code-check reviewer while verifying #100's tarball contents, and confirmed with
git grep -n context_kotl.Proposed Solution
context_kootenay_lake.gpkgsupersedes it. Then deleteinst/extdata/context_kotl.gpkg, and either deletedata-raw/example_context_kotl.Ror mark it superseded.Outcome (PR #115)
context_kootenay_lake.gpkghas all five of its layers, plus wsgs and ecoregions, over an area that contains KOTL. No reader exists in this repo or, per an org-wide code search, in any other.