Subject: bug#65430: closed ([PATCH 2/3] gnu: Add r-earlywarnings.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 28 Aug 2023 08:03:01 +0000

Your bug report

#65430: [PATCH 2/3] gnu: Add r-earlywarnings.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
65430: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65430
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH 2/3] gnu: Add r-earlywarnings.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Mon, 28 Aug 2023 10:01:51 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Applied with very minor changes (location in the file, paragraph
reflow in description).

Thank you!

-- 
Ricardo

Subject: [PATCH 2/3] gnu: Add r-earlywarnings.
From: Navid Afkhami <[email-masked]>
To: <[email-masked]>
Cc: Navid Afkhami <[email-masked]>
Date: Mon, 21 Aug 2023 13:44:37 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/cran.scm (r-earlywarnings): New variable.
---
 gnu/packages/cran.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 223d1d3a3d..08e206673c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4244,6 +4244,39 @@ (define-public r-bslib
 previewing themes in real time.")
     (license license:expat)))
 
+(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 "http://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)))
+
 ;; This package includes minified JavaScript files.  When upgrading please
 ;; check that there are no new minified JavaScript files.
 (define-public r-shiny
-- 
2.34.1