Skip to content

Release tna 1.3.1 - #13

Merged
sonsoleslp merged 5 commits into
sonsoleslp:mainfrom
mohsaqr:cran-1.2.3
Sep 28, 2026
Merged

sonsoleslp merged 5 commits into
sonsoleslp:mainfrom
mohsaqr:cran-1.2.3

Conversation

@mohsaqr

@mohsaqr mohsaqr commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • fix locale-dependent state ordering, RSP solver-noise amplification, normalization noise, and prune argument handling
  • harden timestamp parsing and add collision-safe actor/session preparation with explicit sessions and time_threshold = FALSE
  • add reproducible bootstrap seeds and weighted PageRank
  • fix prepare_data() emitting a dplyr grouping message from the sessions-per-user summarise (.groups = "drop"), with a regression test
  • complete the pkgdown reference index
  • bump the package to 1.3.1

Validation

  • complete testthat suite
  • 300 randomized prepare_data equivalence cases against Nestimate
  • 80 PageRank fixtures against tna-js/igraph (maximum error < 5e-16)
  • 100 seeded-versus-legacy bootstrap equivalence cases
  • 47,000-session overflow regression
  • R CMD check: Status OK

Closes #12

@mohsaqr mohsaqr changed the title Release tna 1.3.0 Release tna 1.3.1 Aug 29, 2026
@sonsoleslp
sonsoleslp merged commit 1743b04 into sonsoleslp:main Sep 28, 2026
6 checks passed
sonsoleslp pushed a commit that referenced this pull request Sep 28, 2026
Release changes (from PR #13):
* Preserve canonical option names in case-insensitive argument matching, so
  cluster_data()/cluster_sequences() pass "ward.D"/"ward.D2" to stats::hclust().
* Deterministic state ordering across system locales.
* Fixed RSP-betweenness numerical instability and normalization noise in
  constant centrality measures.
* Deterministic timezone handling and explicit-session support in prepare_data();
  time_threshold = FALSE disables gap-based splitting.
* prune() warns about inactive method-specific arguments.
* Reproducible seed arguments for network and clique bootstrapping.
* Weighted PageRank in centralities().

Plot fixes:
* plot.tna_permutation() dispatches to cograph's dedicated permutation renderer,
  honoring show_nonsig/show_stars/show_effect/edge_nonsig_color/edge_nonsig_style/
  edge_nonsig_alpha.
* Translate qgraph-style plotting args (e.g. edge.label.cex) for bare-matrix
  network plots (permutation, disparity).
* Added a bins argument to plot.tna_reliability().

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add seed argument to bootstrap() for reproducibility

2 participants