Subject: [bug#42119] [PATCH 4/5] gnu: Add r-interval.

From: Peter Lo <[email-masked]>
Date: Mon, 29 Jun 2020 16:03:39 +0800

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fe1a8e0b46..d3cd199130 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22375,3 +22375,30 @@ observed data and the MLE.")
     (description
       "Perform Exact or Asymptotic permutation tests")
     (license (list license:gpl2+ license:gpl3+))))
+
+(define-public r-interval
+  (package
+    (name "r-interval")
+    (version "1.1-0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "interval" version))
+        (sha256
+          (base32
+            "1lln9jkli28i4wivwzqrsxvv2n15560f7msjy5gssrm45vxrxms8"))))
+    (properties `((upstream-name . "interval")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-icens" ,r-icens)
+        ("r-mlecens" ,r-mlecens)
+        ("r-perm" ,r-perm)
+        ("r-survival" ,r-survival)))
+    (home-page
+      "https://cran.r-project.org/web/packages/interval/")
+    (synopsis
+      "Weighted Logrank Tests and NPMLE for interval censored data")
+    (description
+      "This package provides functions to fit nonparametric survival
+curves, plot them, and perform logrank or Wilcoxon type tests.")
+    (license license:gpl2+)))
-- 
2.17.1