From 26ccde2222238bc4a87046a7bdd3c5f9767eb938 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Mar 2026 17:32:53 +0000 Subject: [PATCH 1/2] Initial plan From 07d49b59e60cf84cde902362b1f8b478b4589e7d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Mar 2026 17:34:03 +0000 Subject: [PATCH 2/2] Fill in NEWS.md for v0.2.0 Co-authored-by: jhollway <5595229+jhollway@users.noreply.github.com> Agent-Logs-Url: https://github.com/stocnet/netrics/sessions/884854c5-d15b-40c2-9e84-62c1fbba2040 --- NEWS.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/NEWS.md b/NEWS.md index 5c38977..2afed8b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,39 @@ +# netrics 0.2.0 + +## Renaming + +- `node_adoption_time()` renamed to `node_by_adopt_time()` and + `node_thresholds()` renamed to `node_by_adopt_threshold()` for naming + consistency. +- Periodwise change functions (`node_x_period()`, etc.) reclassified as motifs + rather than measures. +- `model_k()` renamed to `method_k()` and related cluster-selection utilities + renamed for clarity. + +## New features + +- Added gap method for cluster *k*-selection in `method_k()`. +- `node_in_community()` is now its own function, separated from the hierarchical + and non-hierarchical community-detection algorithms. +- Centralisation scripts split into separate files per measure type + (betweenness, closeness, degree, eigenvector) for easier maintenance. +- New roxygen2 parameter templates added (`param_attr`, `param_data`, + `param_dir`, `param_memb`, `param_motf`, `param_norm`, `param_select`) and + net/node/tie-level templates (`net_measure`, `net_motif`, `node_mark`, + `node_measure`, `node_member`, `node_motif`, `tie_mark`, `tie_measure`) for + consistent function documentation. + +## Documentation + +- Core documentation split into separate mark, measure, and member pages. +- Brokerage, diversity/assortativity, cohesion, closure, cliques, components, + features, and hierarchy documentation updated and separated by level. +- Defunct function documentation updated. + +## Bug fixes + +- Fixed startup messages. + # netrics 0.1.0 ## Release notes