Get Network Representation of an R Package
Overview
Tools from the domain of graph theory can be used to quantify the complexity and vulnerability to failure of a software package. That is the guiding philosophy of this package. 'pkgnet' provides tools to analyze the dependencies between functions in an R package and between its imported packages. See the pkgnet website for vignettes and other supplementary information.
NEW FEATURES
CHANGES
- Removed commented-out
expect_silenttests from the test suite. (#342) - CI now enforces
zizmorchecks on Github Actions workflows, andcodecovreporting has been dropped. (#346) - Added
.pre-commit-config.yamlto.Rbuildignoreso it is excluded from the built tarball.
BUGFIXES
- Fixed runtime error when
FunctionReporterextract edges from a function containing expressions ofexternalptrtype.FunctionReporterwill generally now ignore unknown expression types and instead log a warning. (#344)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 15 (6 internal)includes a package overview page
- Examples that run
- 0%1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 13%
- Documented parameters
- 63%
- Return-value docs
- 38%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 95%
- Median days to close, 50 most recently updated closed issues
- 1,627
- Median days to close, 50 most recently updated closed PRs
- 0
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/uptake/pkgnet on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-01-27Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: CLAUDE.mdPull request it wrote: opened by a project memberCommits: at least 8 crediting it in the message
- Copilot code reviewCommits: at least 1 accepting its review suggestions
- Claude Opus 58 commits · Aug to Sep 2026
Dependencies
Installing pkgnet adds 50 packages (27 with compiled code, 44 MB of source tarballs). Heaviest: data.table 5.7 MB, bslib 5.6 MB, igraph 4.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.6.1Latest
- RR 4.6.0 released · 2026-04-24
- 0.6.02026-01-27 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.5.02024-05-03 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.4.22021-12-23 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.4.1
- RR 3.6.0 released · 2019-04-26
- 0.4.02019-04-05 · diff ↗ ·
removed 2 exports
AbstractGraphReporter, AbstractPackageReporteradded 1 export
CreatePackageVignette - 0.3.22019-01-26 · diff ↗
- 0.3.12019-01-20 · diff ↗
Package metadata
- First published
- 2018-04-13
- Total releases
- 12 / 8 yrs
- License
- BSD_3_clause + file LICENSE OSI
- Download size
- 120 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pkgnet")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-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.