Skip to content

MetricGraph

1.6.0

Random Fields on Metric Graphs

2packages depend
10.2Kdownloads / year
14.1%test coverage
13/13checks pass

Overview

About
Maintained by David BolinFirst published 2023-06-018 releasesCRAN page ↗GitHub ↗

Facilitates creation and manipulation of metric graphs, such as street or river networks. Further facilitates operations and visualizations of data on metric graphs, and the creation of a large class of random fields and stochastic partial differential equations on such spaces. These random fields can be used for simulation, prediction and inference. In particular, linear mixed effects models including random field components can be fitted to data based on computationally efficient sparse matrix representations. Interfaces to the R packages 'INLA' and 'inlabru' are also provided, which facilitate working with Bayesian statistical models on metric graphs. The main references for the methods are Bolin, Simas and Wallin (2024) doi:10.3150/23-BEJ1647, Bolin, Kovacs, Kumar and Simas (2023) doi:10.1090/mcom/3929 and Bolin, Simas and Wallin (2023) doi:10.48550/arXiv.2304.03190 and doi:10.48550/arXiv.2304.10372.

Install

Health

CRAN checks
13OK
Slowest check: 9.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.03
14.1%
Coverage · measured lines
93%
Documentation · exports
22
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-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
33%
Documented parameters
96%
Return-value docs
100%
References docs
6%

Downloads

10.2K
CRAN downloads in the past year
Rank #10,298 · ~28/day · ~848/mo
Daily download trend is not available in this view yet.
27130 days
95790 days
10.2K1 year
Compare downloads with other packages →
Also on401 r2u13 autocran

Repository

Repository
24Stars
3Forks
1Open issues
0Open PRs
9Releases
1,485Commits
6Contributors
1,485 commits · Last activity 2026-08-13 · 0% stars, 30d

Stars over time

2025-06-18 · 182026-07-13 · 24

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/davidbolin/metricgraph on 2026-08-09.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Reverse dependencies
2direct
0indirect

Code & Tests

People & History

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

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

  • 1.6.0Latest
    2026-05-06 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.5.0
    2025-05-19 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.4.1
    2025-03-02 · diff ↗
  • 1.4.0
    2024-12-13 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.0
    2024-02-27 · diff ↗
  • 1.2.0
    2023-11-07 · diff ↗
  • 1.1.2
    2023-07-04 · diff ↗
  • 1.1.1
    2023-06-01
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-06-01
Total releases
8 / 3 yrs
License
GPL (>= 2) OSI
Additional repositories
inla.r-inla-download.org
Minimum R
≥ 4.1.0
Bundled data
217 KB / 2 files
Download size
519 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MetricGraph")
Bolin, D., Simas, A., & Wallin, J. (2026). MetricGraph: Random Fields on Metric Graphs (Version 1.6.0) [Computer software]. https://doi.org/10.32614/CRAN.package.MetricGraph

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 MetricGraph version 1.6.0 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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