Skip to content

dgraphs

0.2.0Package record

Data-Derived Graph Construction Utilities

1packages depend
853downloads / year
46.3%test coverage
13/13flavors OK

Overview

About

Constructs data-derived graphs from numerical observations using mutual, shared-neighbor, intersection, geodesic, radius, adaptive-radius, and minimum-spanning-tree completion methods. Provides graph conversion, pruning, diagnostics, spectral embedding, endpoint detection, and path utilities. The implemented graph constructions include methods described by Jarvis and Patrick (1973) doi:10.1109/T-C.1973.223640, Brito et al. (1997) doi:10.1016/S0167-7152(96)00213-1, Berry and Sauer (2019) doi:10.3934/fods.2019001, and Gower and Ross (1969) doi:10.2307/2346439.

Changes in 0.2.0

Breaking API changes

  • Removes the deprecated create.radius.graph() and create.adaptive.radius.graph() compatibility wrappers. Use create.rknn.graph() with type = "fixed" or type = "adaptive.radius", respectively.
  • Removes the temporary public backend entry point cpp.create.rknn.graphs(). Use create.rknn.graphs(backend = "cpp").
  • Internalizes the low-level dist.to.knn(), euclidean.distance(), and graph.adj.mat() helpers.
  • Removes the superseded adjlist.to.igraph() conversion function. as_igraph() now accepts bare adjacency lists and an optional aligned weight.list argument.
Show all changes in 0.2.0Hide the rest of the changes in 0.2.0
  • Removes the unused graph-edit workflow comprising graph.edit.distance(), load.graph.data(), calculate.edit.distances(), and create.distance.plot().

Other changes

  • Fixes a C++ One Definition Rule violation reported by CRAN's special link-time-optimization check. The minimum-spanning-tree implementation now uses a privately scoped edge type, and an unused conflicting intersection-kNN helper type has been removed. This does not change the R API or graph semantics.
  • Fixes an ANN fixed-radius boundary issue that could omit adaptive-radius edges lying exactly at a local-scale threshold. In particular, the adaptive maximum-radius rule with factor one now reproduces symmetric-kNN edges for exact, tie-free searches.
  • Clarifies that the historical rel_geodesic_stress diagnostic is a target-normalized graph-geodesic relative RMSE, not Kruskal's Stress-1.
  • Adds a full workflow vignette covering graph construction, lifecycle diagnostics, connectivity repair, parameter sequences, conversion to igraph, and geodesic-isometry diagnostics.
  • Expands examples across the exported API in preparation for an R Journal package paper.
  • Extends as_igraph() to current dgraphs graph objects while preserving support for legacy basin graph objects.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK6 OK2026-08-21
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 68 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.0Citation fileNo
Help pages
115 (4 internal)includes a package overview page
Examples that run
100%104 run in a plain check
Exported functions with examples
100%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
1%

Downloads

853
CRAN downloads in the past year
Rank #13,620 · ~2/day · ~71/mo
Daily download trend is not available in this view yet.
33130 days
85390 days
8531 year
Compare downloads with other packages →
Also on43 r2u5 autocran

Repository

2Stars
1Forks
0Open issues
0Open PRs
0Releases
379Commits
1Commit identities
379 commits · Last activity 2026-10-01 · +100% stars, 30d · Default branch at 0.3.0.9000, ahead of CRAN 0.2.0 (checked 2026-10-22)
Responsiveness
not measured

Stars over time

2026-08-21 · 02026-10-17 · 2
PracticesBeta

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

Checks run against github.com/pgajer/dgraphs on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-01 · The repository has a site deploy workflow

Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing dgraphs adds 12 packages (9 with compiled code, 12 MB of source tarballs). Heaviest: igraph 4.8 MB, Rcpp 1.8 MB, RcppEigen 1.7 MB.

Depends (1)
R >= 4.1.0
Imports (4)
LinkingTo (2)
Suggests (4)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (9)
Author, Maintainer · added in 0.2.0
Contributor, Copyright holder
Spectra eigensolver routines
Contributor, Copyright holder
Spectra LOBPCG solver
Contributor
ANN library
Contributor, Copyright holder
Spectra linear algebra routines
Contributor
ANN library
Contributor, Copyright holder
Spectra linear algebra routines
Contributor, Copyright holder
Spectra library
Copyright holder
ANN library

Maintainer since 0.1.0 (2026)

Listed in earlier versions (1)
Peter Gajer
no longer listed · 0.1.0
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.0Latest
    record
    2026-08-31 · current release · diff ↗ ·
    removed 11 exports
    adjlist.to.igraph, calculate.edit.distances, cpp.create.rknn.graphs, create.adaptive.radius.graph, create.distance.plot, create.radius.graph, dist.to.knn, euclidean.distance, graph.adj.mat, graph.edit.distance, load.graph.data
  • 0.1.0
    record
    2026-08-20
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-20
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Copyright
See inst/COPYRIGHTS in the package
Minimum R
≥ 4.1.0
Download size
566 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dgraphs")
Gajer, P., Netherlands eScience Center, University of Maryland, Araslanova, A., Arya, S., Guennebaud, G., Mount, D. M., Niesen, J., & Qiu, Y. (2026). dgraphs: Data-Derived Graph Construction Utilities (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.dgraphs

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.

APA

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

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.

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