Package: mpaR
Title: Main Path Analysis for Citation and Directed Networks
Version: 0.4.0
Authors@R: person("Paulo H", "Resende", email = "paulo.resende@ttu.edu",
    role = c("aut", "cre"))
Description: 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.
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (>= 4.1.0)
Imports: igraph (>= 1.3.0), methods, rlang (>= 1.0.0), tools, xml2
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
URL: https://github.com/resendeph/mpaR
BugReports: https://github.com/resendeph/mpaR/issues
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-06-22 17:11:45 UTC; phres
Author: Paulo H Resende [aut, cre]
Maintainer: Paulo H Resende <paulo.resende@ttu.edu>
Repository: CRAN
Date/Publication: 2026-06-26 10:00:02 UTC
Built: R 4.5.2; ; 2026-06-26 14:31:50 UTC; unix
