summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-11-19 14:01:43 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-11-29 12:19:11 +0100
commitea40710a892b8d9db5a6b794ec88f4ca94aa03d6 (patch)
tree8f1693fedf9df375725e05794087dacd81c8cf90
parent34f8e1a5633cbf8b702459ec07dfab8673829d7c (diff)
gnu: Add r-lsoda.
* gnu/packages/cran.scm (r-lsoda): New variable. Change-Id: I4c4277e1d87838d8a541e3acef37c43432e75049
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9f2b8616f1f..af70fd9ae52 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8615,6 +8615,30 @@ an improved interface). The recommended routine @code{logspline()} uses an
algorithm from @url{doi:10.1214/aos/1031594728,Stone et al (1997)}.")
(license license:asl2.0)))
+(define-public r-lsoda
+ (package
+ (name "r-lsoda")
+ (version "1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "lsoda" version))
+ (sha256
+ (base32 "1rbw66xs5xa8b2pgkdhy5acv7g250hanqhwkvxmc15al3nyjmdc5"))))
+ (properties `((upstream-name . "lsoda")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-rcpp))
+ (home-page "https://github.com/mclements/lsoda")
+ (synopsis "C++ header library for ordinary differential equations")
+ (description
+ "This package provides 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. 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 @code{ode} function to call from R.")
+ (license license:expat)))
+
(define-public r-lubridate
(package
(name "r-lubridate")