summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorNavid Afkhami <navid.afkhami@mdc-berlin.de>2023-08-21 13:44:37 +0000
committerRicardo Wurmus <rekado@elephly.net>2023-08-28 10:01:17 +0200
commitaaf261cc8c0638aaa8e3f08fabe81a6f58ba7f07 (patch)
treef1598c9fd4cc1108b916523eebab26d14de06266 /gnu/packages/cran.scm
parent432cf5b449c0e89ee68cc778308dbe879e82b92c (diff)
downloadguix-aaf261cc8c0638aaa8e3f08fabe81a6f58ba7f07.tar.gz
gnu: Add r-earlywarnings.
* gnu/packages/cran.scm (r-earlywarnings): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index dc08a5414d..6c67f50fa4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -603,6 +603,39 @@ edition of the book \"Data Mining with R, learning with case studies\"
 by Luis Torgo, published by CRC Press.")
     (license license:gpl2+)))
 
+(define-public r-earlywarnings
+  (package
+    (name "r-earlywarnings")
+    (version "1.1.29")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "earlywarnings" version))
+              (sha256
+               (base32
+                "1xa9rijqqxa5l253dg8dn1jjhdakf8krl5rflq5v9gybfyrq1885"))))
+    (properties `((upstream-name . "earlywarnings")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-fields
+                             r-ggplot2
+                             r-kendall
+                             r-kernsmooth
+                             r-knitr
+                             r-lmtest
+                             r-moments
+                             r-nortest
+                             r-quadprog
+                             r-som
+                             r-spam
+                             r-tgp
+                             r-tseries))
+    (native-inputs (list r-knitr))
+    (home-page "https://www.early-warning-signals.org")
+    (synopsis "Early warning signals for critical transitions in time series")
+    (description
+     "This package offers methods for estimating statistical changes in time
+series.  These are used for identifying nearby critical transitions.")
+    (license license:bsd-2)))
+
 (define-public r-embedsom
   (package
     (name "r-embedsom")