deSolve
Solvers for Initial Value Problems of Differential Equations ('ODE', 'DAE', 'DDE')
Description
Functions that solve initial value problems of a system of first-order ordinary differential equations ('ODE'), of partial differential equations ('PDE'), of differential algebraic equations ('DAE'), and of delay differential equations. The functions provide an interface to the FORTRAN functions 'lsoda', 'lsodar', 'lsode', 'lsodes' of the 'ODEPACK' collection, to the FORTRAN functions 'dvode', 'zvode' and 'daspk' and a C-implementation of solvers of the 'Runge-Kutta' family with fixed or variable time steps. The package contains routines designed for solving 'ODEs' resulting from 1-D, 2-D and 3-D partial differential equations ('PDE') that have been converted to 'ODEs' by numerical differencing.
Downloads
55.8K
Last 30 days
478th
189.4K
Last 90 days
708.5K
Last year
Trend: -15.1% (30d vs prior 30d)
682
Last 30 days
2.2K
Last 90 days
9.3K
Last year
Trend: +22.7% (30d vs prior 30d)
22
Last 7 days
138
Last 30 days
7
All-time
⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 27, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 14, 2026
re-building of vignette outputs
Error(s) in re-building vignettes:
...
--- re-building ‘compiledCode.Rnw’ using Sweave
Error: processing vignette 'compiledCode.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'compiledCode.tex' failed.
LaTeX errors:
! Undefined control sequenc
...[truncated]...
! ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘deSolve.Rnw’
SUMMARY: processing the following files failed:
‘compiledCode.Rnw’ ‘deSolve.Rnw’
Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 24, 2026
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 16, 2026
compiled code
File ‘deSolve/libs/deSolve.so’: Found non-API call to R: ‘Rf_findVar’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
63,918
Files
193
Compiled share
68.9%
Has compiled src
Yes
Language breakdown
API
Exported functions
37
Internal functions
51
Recent export changes
Testing & CI
Has tests
No
Test-to-code ratio
0.00
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
85.2%
\dontrun example ratio
3.1%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
40%
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.3.0
System requirements
–
C++ standard
–
License
GPL (>= 2)
License flags
SPDX valid, OSI approved
History
Versions
61
First release
2008-05-30
Latest release
2026-03-20
Avg cadence
55 days
Cold removal rate
100%
Dep drift
4
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.