Subject: [bug#42107] [PATCH 2/6] gnu: Add r-kmsurv.

From: Peter Lo <[email-masked]>
Date: Sun, 28 Jun 2020 17:29:40 +0800

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b054c62550..ceda3c57a3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22350,3 +22350,26 @@ estimator, namely: Petos CI, Rothman CI, CI's based on Greenwoods
 variance, Thomas and Grunkemeier CI and the simultaneous confidence
 bands by Nair and Hall and Wellner.")
     (license license:gpl2+)))
+
+(define-public r-kmsurv
+  (package
+    (name "r-kmsurv")
+    (version "0.1-5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "KMsurv" version))
+        (sha256
+          (base32
+            "0hi5vvk584rl70gbrr75w9hc775xmbxnaig0dd6hlpi4071pnqjm"))))
+    (properties `((upstream-name . "KMsurv")))
+    (build-system r-build-system)
+    (home-page
+      "https://cran.r-project.org/web/packages/KMsurv/")
+    (synopsis
+      "Data sets from Klein and Moeschberger (1997), Survival Analysis")
+    (description
+      "Data sets and functions for Klein and Moeschberger (1997),
+\"Survival Analysis, Techniques for Censored and Truncated Data\",
+Springer.")
+    (license license:gpl3+)))
-- 
2.17.1