Weighted and Directed Networks
Overview
Assortativity coefficients, centrality measures, and clustering coefficients for weighted and directed networks. Rewiring unweighted networks with given assortativity coefficients. Generating general preferential attachment networks.
- Updated for CVXR 1.8.1 API changes.
- Removed the
ignore_dcpandparallelarguments fromcvxr_control(); these options are no longer supported. - Updated default solver name from "ECOS" to "CLARABEL".
- Updated for
igraphAPI changes. - Replaced
igraph::is.directed()withigraph::is_directed()andigraph::is.graph()withigraph::is_igraph().
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-18
Show 1 earlier changeHide 1 earlier change
- ERROR7 OK, 7 ERROR2026-03-10
Documentation
- Help pages
- 61 (39 internal)includes a package overview page
- Examples that run
- 85%17 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 87%
- Return-value docs
- 100%
- Help pages citing references
- 13%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- GitHub only
- Median days to close, 50 most recently updated closed PRs
- GitHub only
Repository gitlab.com/wdnetwork/wdnet is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.
Dependencies
Installing wdnet adds 26 packages (21 with compiled code, 24 MB of source tarballs). Heaviest: clarabel 5.7 MB, igraph 4.8 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.2.4Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.2.32024-03-03 · diff ↗
- 1.2.22023-09-06 · diff ↗
- 1.2.12023-09-04 · diff ↗
- 1.2.02023-07-05 · diff ↗
- 1.1.02023-05-17 · diff ↗ ·
added 5 exports
adj_to_wdnet, edgelist_to_wdnet, igraph_to_wdnet, is_wdnet, wdnet_to_igraph - RR 4.3.0 released · 2023-04-21
- 1.0.02023-01-19 · diff ↗ ·
removed 6 exports
cvxr.control, rpactl.edgeweight, rpactl.newedge, rpactl.preference, rpactl.reciprocal, rpactl.scenarioadded 6 exports
cvxr_control, rpa_control_edgeweight, rpa_control_newedge, rpa_control_preference, rpa_control_reciprocal, rpa_control_scenario - 0.0.52022-09-12 · diff ↗
- 0.0.42022-06-27 · diff ↗
- 0.0.32022-06-23
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-06-23
- Total releases
- 10 / 4 yrs
- License
- GPL (>= 3.0)
- Minimum R
- ≥ 4.4.0
- Download size
- 73 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("wdnet")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.