Network Analysis of Dependencies of CRAN Packages
Overview
The dependencies of CRAN packages can be analysed in a network fashion. For each package we can obtain the packages that it depends, imports, suggests, etc. By iterating this procedure over a number of packages, we can build, visualise, and analyse the dependency network, enabling us to have a bird's-eye view of the CRAN ecosystem. One aspect of interest is the number of reverse dependencies of the packages, or equivalently the in-degree distribution of the dependency network. This can be fitted by the power law and/or an extreme value mixture distribution doi:10.1111/stan.12355, of which functions are provided.
Functions
- Re-add
topo_sort_kahn(), previously removed in v0.3.11, along with its appearance in the introduction vignette.
Tests
- Initial tests are added.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-04
- ERROR12 OK, 1 ERROR2026-07-03
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 34 (8 internal)
- Examples that run
- 71%5 run in a plain check · 2 never run
- Exported functions with examples
- 29%
- Documented parameters
- 81%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 39
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/clement-lee/crandep on 2026-10-22.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.3.14Latest
- RR 4.6.0 released · 2026-04-24
- 0.3.132025-06-16 · diff ↗
- 0.3.122025-05-02 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.3.11
- 0.3.10
- 0.3.9
- 0.3.82024-05-02 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.3.72024-03-28 · diff ↗
- 0.3.6
- 0.3.5
- 0.3.42023-12-19 · diff ↗
- 0.3.32023-11-21 · diff ↗ ·
added 5 exports
mcmc_mix2_wrapper, mcmc_mix3_wrapper, mcmc_pol_wrapper, obtain_u_set_mix2, obtain_u_set_mix3 - 0.3.22023-08-18 · diff ↗ ·
removed 6 exports
Smix, Supp, dmix, dupp, mcmc_mix, mcmc_uppadded 9 exports
Smix2, Smix3, Spol, dmix2, dmix3, dpol, mcmc_mix2, mcmc_mix3, mcmc_pol
Show 11 earlier eventsHide 11 earlier events
Package metadata
- First published
- 2020-05-16
- Total releases
- 20 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.4
- Bundled data
- 831 KB / 2 files
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("crandep")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.