Skip to content

diffeqr

2.1.0Package record

Solving Differential Equations (ODEs, SDEs, DDEs, DAEs)

0packages depend
3.8Kdownloads / year
1.3%test coverage
13/13flavors OK

Overview

About

An interface to 'DifferentialEquations.jl' https://diffeq.sciml.ai/dev/ from the R programming language. It has unique high performance methods for solving ordinary differential equations (ODE), stochastic differential equations (SDE), delay differential equations (DDE), differential-algebraic equations (DAE), and more. Much of the functionality, including features like adaptive time stepping in SDEs, are unique and allow for multiple orders of magnitude speedup over more common methods. Supports GPUs, with support for CUDA (NVIDIA), AMD GPUs, Intel oneAPI GPUs, and Apple's Metal (M-series chip GPUs). 'diffeqr' attaches an R interface onto the package, allowing seamless use of this tooling by R users. For more information, see Rackauckas and Nie (2017) doi:10.5334/jors.151.

Changes in 2.1.0

Better support for ModelingToolkit JIT tracing on SDEs.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.1.0
READMEYes · 1,997 wordsVignettesYes · 5 · dynamicNEWSYes · 100% structured · mentions 2.1.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
4
Examples that run
0%4 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.8K
CRAN downloads in the past year
Rank #11,237 · ~10/day · ~314/mo
Daily download trend is not available in this view yet.
36530 days
94890 days
3.8K1 year
Compare downloads with other packages →
Also on99 r2u12 autocran103 c2d4u

Repository

148Stars
16Forks
6Open issues
1Open PRs
8Releases
192Commits
9Commit identities
differential-equationsodesdedaeddedifferential-algebraic-equationsordinary-differential-equationsstochastic-differential-equations
192 commits · Last activity 2026-06-07 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
79%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-21 · 1462026-09-15 · 148
PracticesBeta

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

Checks run against github.com/sciml/diffeqr on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (5)
Code of conduct (inherited from sciml)Contributing guide (inherited from sciml)PR template (inherited from sciml)

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-09-04
    Pull request it wrote: opened by a project member
    Commits: 3 by its own account · at least 7 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 9 from outside contributors, first on 2025-09-03, 9 from forks
Models named in its commits
  • Claude Sonnet 4.53 commits · Jan 2026
  • Claude Opus 4.51 commit · Dec 2025
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing diffeqr adds 8 packages (5 with compiled code, 4.1 MB of source tarballs). Heaviest: Rcpp 1.8 MB, JuliaCall 1.4 MB, knitr 479 KB.

Depends (1)
R >= 3.4.0
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2018), Copyright holder
Releases (11)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.1.0Latest
    record
    2024-12-04 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0.1
    record
    2024-03-18 · diff ↗
  • 2.0.0
    record
    2023-10-20 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.3
    record
    2022-12-25 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2021-08-05
  • 1.1.1
    record
    2021-08-05 · diff ↗
  • archivedRemoved from CRAN
    2021-06-16
    policy violation Installs julia and leaves it behind
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.0
    record
    2021-01-08 · diff ↗
  • 1.0.0
    record
    2020-08-26 · diff ↗ ·
    removed 4 exports
    dae.solve, dde.solve, ode.solve, sde.solve
    added 3 exports
    diffeqgpu_setup, jitoptimize_ode, jitoptimize_sde
  • R
    R 4.0.0 released · 2020-04-24
Show 6 earlier eventsHide 6 earlier events

Package metadata

First published
2018-04-24
Total releases
11 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.4.0
Download size
657 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("diffeqr")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 diffeqr version 2.1.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