Skip to content

'C++' Header Library for Ordinary Differential Equations

1packages depend
148.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A 'C++' header library for using the 'libsoda-cxx' library with R. The 'C++' header reimplements the 'lsoda' function from the 'ODEPACK' library for solving initial value problems for first order ordinary differential equations (Hindmarsh, 1982; https://computing.llnl.gov/sites/default/files/ODEPACK_pub1_u88007.pdf). The 'C++' header can be used by other R packages by linking against this package. The 'C++' functions can be called inline using 'Rcpp'. Finally, the package provides an 'ode' function to call from R.

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
4 (2 internal)includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

148.6K
CRAN downloads in the past year
Rank #907 · ~407/day · ~12.4K/mo
Daily download trend is not available in this view yet.
22.8K30 days
46.8K90 days
148.6K1 year
Compare downloads with other packages →
Also on2.3K r2u3 autocran1.4K conda_forge

Repository

2Stars
1Forks
0Open issues
0Open PRs
0Releases
25Commits
2Commit identities
25 commits · Last activity 2026-04-25 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2026-05-29 · 12026-09-04 · 2
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/mclements/lsoda on 2026-10-21.

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing lsoda adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (0)
none
Imports (1)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
1direct
59indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (8)
Author, Maintainer since 1.0 (2025)
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2Latest
    record
    2025-05-11 · current release · diff ↗ ·
    added 1 export
    ode_cpp
  • 1.1
    record
    2025-04-24 · diff ↗
  • 1.0
    record
    2025-04-22
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-04-22
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Download size
24 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lsoda")
Clements, M., Brown, P. N., Byrne, G. D., Hindmarsh, A. C., Li, H., Moler, C., Petzold, L. R., & Singh, D. (2025). lsoda: 'C++' Header Library for Ordinary Differential Equations (Version 1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.lsoda

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

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