Wrapper for 'SUNDIALS' Solving ODE and Sensitivity Problem
Overview
Wrapper for widely used 'SUNDIALS' software (SUite of Nonlinear and DIfferential/ALgebraic Equation Solvers) and more precisely to its 'CVODES' solver. It is aiming to solve ordinary differential equations (ODE) and optionally pending forward sensitivity problem. The wrapper is made 'R' friendly by allowing to pass custom parameters to user's callback functions. Such functions can be both written in 'R' and in 'C++' ('RcppArmadillo' flavor). In case of 'C++', performance is greatly improved so this option is highly advisable when performance matters. If provided, Jacobian matrix can be calculated either in dense or sparse format. In the latter case 'rmumps' package is used to solve corresponding linear systems. Root finding and pending event management are optional and can be specified as 'R' or 'C++' functions too. This makes them a very flexible tool for controlling the ODE system during the time course simulation. 'SUNDIALS' library was published in Hindmarsh et al. (2005) doi:10.1145/1089014.1089020.
- 2026-04-21
- removed xref to archived ast2ast (signaled by CRAN team)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-16
- WARNING12 OK, 1 WARNING2026-05-13
- OK13 OK2026-05-02
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 3includes a package overview page
- Examples that run
- 100%3 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 33%
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 410
Stars over time
Forks over time
Issues over time
PRs over time
Checks run against github.com/sgsokol/r2sundials on 2026-10-22.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing r2sundials adds 3 packages (3 with compiled code, 5.0 MB of source tarballs). Heaviest: rmumps 2.2 MB, Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
People & History
Show 18 more contributorsHide 18 contributors
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 7.2.1-4Latest
- RR 4.5.0 released · 2025-04-11
- 7.2.1-32025-04-10 · diff ↗
- 6.5.0-52024-07-23 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 6.5.0-42023-12-08 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 6.5.0-32023-03-24 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 5.0.0-102021-05-18 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 5.0.0-92021-03-16 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 5.0.0-72020-03-15 · diff ↗
- 5.0.0-42020-01-08
Show 1 earlier eventHide 1 earlier event
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-01-08
- Total releases
- 9 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.0.2
- Download size
- 423 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("r2sundials")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
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.