summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-03-12 00:20:03 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-03-17 10:14:02 +0100
commit6eaa9bfba6aaf14af26c78d0618954f692a090a5 (patch)
treea0592e321e162e7a56f4a9ce25659a8561be3284 /gnu/packages
parent4b005c7a7529838396ab74eceaaca08f66f0608c (diff)
downloadguix-6eaa9bfba6aaf14af26c78d0618954f692a090a5.tar.gz
gnu: r-survival: Move to set of recommended R packages.
* gnu/packages/statistics.scm (r-survival): Move up to set of recommended R
packages.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/statistics.scm42
1 files changed, 22 insertions, 20 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b338efcda2..c836409b61 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -511,6 +511,28 @@ analysis.")
     ;; Either version may be picked.
     (license (list license:gpl2 license:gpl3))))
 
+(define-public r-survival
+  (package
+    (name "r-survival")
+    (version "2.40-1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "survival" version))
+       (sha256
+        (base32
+         "10pf0kq0g66k5rgizrvh29mq3r84acljw2jgrv5yp6z38xw23mci"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-matrix" ,r-matrix)))
+    (home-page "https://github.com/therneau/survival")
+    (synopsis "Survival analysis")
+    (description
+     "This package contains the core survival analysis routines, including
+definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
+curves, Cox models, and parametric accelerated failure time models.")
+    (license license:lgpl2.0+)))
+
 (define-public r-bit
   (package
     (name "r-bit")
@@ -3683,26 +3705,6 @@ following problems:
 @end enumerate\n")
     (license license:gpl3+)))
 
-(define-public r-survival
-  (package
-    (name "r-survival")
-    (version "2.40-1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (cran-uri "survival" version))
-       (sha256
-        (base32
-         "10pf0kq0g66k5rgizrvh29mq3r84acljw2jgrv5yp6z38xw23mci"))))
-    (build-system r-build-system)
-    (home-page "https://github.com/therneau/survival")
-    (synopsis "Survival analysis")
-    (description
-     "This package contains the core survival analysis routines, including
-definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state)
-curves, Cox models, and parametric accelerated failure time models.")
-    (license license:lgpl2.0+)))
-
 (define-public r-base64
   (package
     (name "r-base64")