Pure-R implementation matching the C++ algorithm in `process_district_all_vars_n_orders()`. Used automatically by [`smooth_variables()`] when the compiled library is unavailable.
Arguments
- variable_values
List of numeric vectors (one per variable).
- neighbors
List of length `n_orders`; each element is a list of length `n_cells` of integer neighbour indices.
- weights
List with `center_weight` and `neighbor_weights`.
- hex_indices
Integer vector of cell indices (1-based) to process.
- var_names
Character vector of variable names.
