eduaguilera/whep

spatialize: dead helpers .normalize_to_cropland and .get_area_code_from_grid

Offen

#225 geöffnet am 22.07.2026

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)R (3 Forks)auto 404
area:spatializeclean codegood first issuehelp wantedmechanicalno-data-neededpriority:low

Repository-Metriken

Stars
 (1 Stern)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

What

.normalize_to_cropland (R/spatialize.R:924) and .get_area_code_from_grid (:633) are defined but never called anywhere in R/ or tests/. Also type_count <- dplyr::n_distinct(...) (:199) is computed and immediately discarded (comment implies a message was intended but none is emitted).

Suggested fix / check

Remove the dead helpers and the unused computation (or wire up the intended message).


From deep static audit (2026-07-22), parallel subsystem review pass. Deduplicated against then-open issues. Not verified by running unless stated.

Contributor Guide