Skip to content

mpaR

0.5.0

Main Path Analysis for Citation and Directed Networks

0packages depend
450downloads / year
0.0%test coverage
13/13checks pass

Overview

About
Maintained by Paulo H ResendeFirst published 2026-06-262 releasesCRAN page ↗GitHub ↗

Implements Main Path Analysis (MPA) as introduced by Hummon and Doreian (1989) doi:10.1016/0378-8733(89)90017-8. Given a directed acyclic graph (DAG) representing a citation or precedence network, the package computes traversal weights (SPC, SPLC, SPNP) for each edge and extracts the global, local, and key-route main paths. Also provides tools for DAG validation, node role classification (source/terminal/user), per-component path extraction for disconnected networks, and scale-free network testing. Accepts 'igraph' objects or edge-list data frames as input. Includes readers for 'Pajek' (.net) and 'Gephi' export (.gexf, .graphml) files.

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.23
0.0%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-27
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
80%
Documented parameters
100%
Return-value docs
100%
References docs
56%

Downloads

450
CRAN downloads in the past year
Rank #23,168 · ~1/day · ~38/mo
Daily download trend is not available in this view yet.
21330 days
45090 days
4501 year
Compare downloads with other packages →
Also on15 r2u19 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
1Releases
21Commits
1Contributors
21 commits · Last activity 2026-07-23

Stars over time

2026-07-14 · 02026-08-04 · 1

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/resendeph/mpar on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (5)
igraphmethodsrlangtoolsxml2
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.5.0Latest
    2026-07-24 · current release · diff ↗
  • 0.4.0
    2026-06-26
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-26
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
49 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mpaR")
Resende, P. H. (2026). mpaR: Main Path Analysis for Citation and Directed Networks (Version 0.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.mpaR

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mpaR version 0.5.0 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy