Skip to content

rSPDE

2.6.0Package record

Rational Approximations of Fractional Stochastic Partial Differential Equations

4packages dependsuggested by 2
9.1Kdownloads / year
29.8%test coverage
13/13flavors OK

Overview

About

Functions that compute rational approximations of fractional elliptic stochastic partial differential equations. The package also contains functions for common statistical usage of these approximations. The main references for rSPDE are Bolin, Simas and Xiong (2023) doi:10.1080/10618600.2023.2231051 for the covariance-based method and Bolin and Kirchner (2020) doi:10.1080/10618600.2019.1665537 for the operator-based rational approximation. These can be generated by the citation function in R.

Changes in 2.6.0
  • Added posterior_crossvalidation() for objects fitted with rspde_lme(). The function mirrors the interface of MetricGraph::posterior_crossvalidation.
  • Added hybrid.spde(), a new hybrid Whittle-Matern SPDE model with a non-zero deterministic mean.
  • rspde_lme() now supports hybrid.spde models.
  • Added rspde.hybrid.matern(), a INLA cgeneric model for the hybrid Whittle-Matern SPDE with alpha = 2.
  • Added a kappa_mu option that lets the operator applied to the mean use a different range parameter from the one in the covariance. Default (kappa_mu = NULL in hybrid.spde(), separate_kappa_mu = FALSE in rspde.hybrid.matern()) keeps them linked. When enabled, kappa_mu is estimated jointly in rspde_lme and INLA, or can be held fixed via model_options$fix_kappa_mu.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 9.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • NOTE12 OK, 1 NOTE2026-06-07
Show 2 earlier changesHide 2 earlier changes
  • OK12 OK2026-04-25
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.6.0
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 2.6.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
105 (1 internal)includes a package overview page
Examples that run
90%55 run in a plain check (10 of them under a condition) · 6 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
60%
Documented parameters
97%
Return-value docs
94%
Help pages citing references
0%

Also includes 1 demo script (run with demo())

Vignettes (1)

Downloads

9.1K
CRAN downloads in the past year
Rank #4,651 · ~25/day · ~762/mo
Daily download trend is not available in this view yet.
75030 days
1.8K90 days
9.1K1 year
Compare downloads with other packages →
Also on231 r2u6 autocran

Repository

12Stars
4Forks
0Open issues
0Open PRs
14Releases
1,775Commits
10Commit identities
License file reads as GPL-3.0 · 1,775 commits · Last activity 2026-09-23 · Default branch at 2.6.0.9001, ahead of CRAN 2.6.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-06-12 · 122026-07-07 · 12
PracticesBeta

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

Checks run against github.com/davidbolin/rspde on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-23 · The repository has a site deploy workflow

pkgdown site last built 2026-09-23

Reproducibility and dev environment (1)
data-raw/
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)

Installing rSPDE adds 34 packages (24 with compiled code, 41 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, sp 4.3 MB.

Depends (2)
R >= 3.5.0Matrix
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect
Imports 4
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (3)
Maintainer since 0.4.6 (2019), Author
Author · added in 1.0.0
Contributor · added in 1.2.0
Releases (16)

Pick two releases to compare their code metrics.

  • 2.6.0Latest
    record
    2026-08-31 · current release · diff ↗ ·
    added 5 exports
    hybrid.spde, local_rspde_safe_inla, posterior_crossvalidation, rspde.hybrid.matern, rspde_safe_inla
  • R
    R 4.6.0 released · 2026-04-24
  • 2.5.2
    record
    2026-01-26 · diff ↗ ·
    added 3 exports
    cov_function_mesh, covariance_mesh, make_A
  • R
    R 4.5.0 released · 2025-04-11
  • 2.5.1
    record
    2025-03-22 · diff ↗ ·
    removed 1 export
    group_predict
    added 2 exports
    intrinsic.operators, rspde.intrinsic
  • 2.4.0
    record
    2024-12-02 · diff ↗ ·
    added 13 exports
    create_train_test_indices, group_predict, matern.rational, matern.rational.cov, matern2d.operators, rSPDE.Ast, rspde.anistropic2d, rspde.intrinsic.matern, rspde.matern1d, rspde.spacetime, spacetime.operators, transform_parameters_anisotropic, transform_parameters_spacetime
  • R
    R 4.4.0 released · 2024-04-24
  • 2.3.3
    record
    2023-11-05 · diff ↗ ·
    added 5 exports
    augment, glance, graph_data_rspde, rSPDE.fem2d, spde.make.A
  • 2.3.2
    record
    2023-07-02 · diff ↗ ·
    added 2 exports
    intrinsic.matern.operators, variogram.intrinsic.spde
  • 2.3.1
    record
    2023-05-25 · diff ↗ ·
    removed 1 export
    matern.loglike
    added 1 export
    rspde_lme
  • R
    R 4.3.0 released · 2023-04-21
  • 2.2.0
    record
    2023-04-12 · diff ↗ ·
    added 1 export
    cross_validation
  • 2.1.0
    record
    2023-01-19 · diff ↗ ·
    removed 3 exports
    get.inital.values.rSPDE, get.sparsity.graph.rspde, rspde.precision
    added 4 exports
    construct.spde.matern.loglike, get.initial.values.rSPDE, gg_df, rspde.metric_graph
  • 1.2.0
    record
    2022-09-16 · diff ↗ ·
    removed 2 exports
    folded.matern.covariance, simulate
    added 7 exports
    rational.order<-, rational.type<-, folded.matern.covariance.1d, folded.matern.covariance.2d, rSPDE.construct.matern.loglike, rational.order, rational.type
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2022-01-14
Show 10 earlier eventsHide 10 earlier events
  • 1.1.1
    record
    2022-01-14 · diff ↗
  • archivedRemoved from CRAN
    2022-01-06
    check issues were not corrected in time
  • 1.0.0
    record
    2021-12-13 · diff ↗ ·
    added 16 exports
    folded.matern.covariance, get.inital.values.rSPDE, get.sparsity.graph.rspde, precision, rSPDE.matern.loglike, rspde.make.A, rspde.make.index, rspde.matern, rspde.matern.precision, rspde.matern.precision.integer, rspde.matern.precision.integer.opt, rspde.matern.precision.opt, rspde.mesh.project, rspde.mesh.projector, rspde.precision, rspde.result
  • 0.6.3
    record
    2021-10-14 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6.2
    record
    2021-02-23 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.8
    record
    2020-03-08 · diff ↗ ·
    added 1 export
    require.nowarnings
  • 0.4.6
    record
    2019-08-20
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-08-20
Total releases
16 / 7 yrs
License
GPL (>= 3) | file LICENSE OSI
Additional repositories
inla.r-inla-download.org
Minimum R
≥ 3.5.0
Download size
3.5 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("rSPDE")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1080/10618600.2023.2231051, 10.1080/10618600.2019.1665537.

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 rSPDE version 2.6.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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