unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add r-survival.
@ 2016-05-09 11:31 Roel Janssen
  2016-05-09 19:53 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Janssen @ 2016-05-09 11:31 UTC (permalink / raw)
  To: Guix-devel

Dear Guix,

Here is another R package.
Thank you for your time.

Kind regards,
Roel Janssen


From c7da5f0f490d75fbf9697fc632fb0066dfefa89f Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Mon, 9 May 2016 13:28:53 +0200
Subject: [PATCH] gnu: Add r-survival.

* gnu/packages/statistics.scm (r-survival): New variable.
---
 gnu/packages/statistics.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 7b34832..47311eb 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1331,6 +1331,25 @@ the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
 previous R versions and their release dates.")
     (license license:expat)))
 
+(define-public r-survival
+  (package
+    (name "r-survival")
+    (version "2.39-2")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "survival" version))
+              (sha256
+               (base32
+                "1n649k6arf751f3z6axm3w84ihydw8j9g4f1l8ifqfvcdkl40yz3"))))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/survival")
+    (synopsis "This package does 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-whisker
   (package
     (name "r-whisker")
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add r-survival.
  2016-05-09 11:31 [PATCH] gnu: Add r-survival Roel Janssen
@ 2016-05-09 19:53 ` Ricardo Wurmus
  2016-05-10 10:14   ` Roel Janssen
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2016-05-09 19:53 UTC (permalink / raw)
  To: Roel Janssen; +Cc: Guix-devel


Roel Janssen <roel@gnu.org> writes:

> Dear Guix,
>
> Here is another R package.
> Thank you for your time.
>
> Kind regards,
> Roel Janssen
>
>
>From c7da5f0f490d75fbf9697fc632fb0066dfefa89f Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Mon, 9 May 2016 13:28:53 +0200
> Subject: [PATCH] gnu: Add r-survival.
>
> * gnu/packages/statistics.scm (r-survival): New variable.

If I’m not mistaken this package is also part of the default R
installation.

The same questions apply as those I wrote about MASS.

>  gnu/packages/statistics.scm | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>
> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
> index 7b34832..47311eb 100644
> --- a/gnu/packages/statistics.scm
> +++ b/gnu/packages/statistics.scm
> @@ -1331,6 +1331,25 @@ the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
>  previous R versions and their release dates.")
>      (license license:expat)))
>  
> +(define-public r-survival
> +  (package
> +    (name "r-survival")
> +    (version "2.39-2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (cran-uri "survival" version))
> +              (sha256
> +               (base32
> +                "1n649k6arf751f3z6axm3w84ihydw8j9g4f1l8ifqfvcdkl40yz3"))))
> +    (build-system r-build-system)
> +    (home-page "http://cran.r-project.org/web/packages/survival")
> +    (synopsis "This package does survival analysis")

How about “Routines and models for 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.")

“Surv” –> “@code{Surv}”?

> +  (license license:lgpl2.0+)))

Okay.  Thanks!

~~ Ricardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add r-survival.
  2016-05-09 19:53 ` Ricardo Wurmus
@ 2016-05-10 10:14   ` Roel Janssen
  0 siblings, 0 replies; 3+ messages in thread
From: Roel Janssen @ 2016-05-10 10:14 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel


Ricardo Wurmus writes:

> Roel Janssen <roel@gnu.org> writes:
>
>> Dear Guix,
>>
>> Here is another R package.
>> Thank you for your time.
>>
>> Kind regards,
>> Roel Janssen
>>
>>
>>From c7da5f0f490d75fbf9697fc632fb0066dfefa89f Mon Sep 17 00:00:00 2001
>> From: Roel Janssen <roel@gnu.org>
>> Date: Mon, 9 May 2016 13:28:53 +0200
>> Subject: [PATCH] gnu: Add r-survival.
>>
>> * gnu/packages/statistics.scm (r-survival): New variable.
>
> If I’m not mistaken this package is also part of the default R
> installation.
>
> The same questions apply as those I wrote about MASS.

Indeed, survival is also part of the default R packages.  Thanks,
I didn't know this.

>>  gnu/packages/statistics.scm | 19 +++++++++++++++++++
>>  1 file changed, 19 insertions(+)
>>
>> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
>> index 7b34832..47311eb 100644
>> --- a/gnu/packages/statistics.scm
>> +++ b/gnu/packages/statistics.scm
>> @@ -1331,6 +1331,25 @@ the versions that @code{r-release} and @code{r-oldrel} refer to, and also all
>>  previous R versions and their release dates.")
>>      (license license:expat)))
>>  
>> +(define-public r-survival
>> +  (package
>> +    (name "r-survival")
>> +    (version "2.39-2")
>> +    (source (origin
>> +              (method url-fetch)
>> +              (uri (cran-uri "survival" version))
>> +              (sha256
>> +               (base32
>> +                "1n649k6arf751f3z6axm3w84ihydw8j9g4f1l8ifqfvcdkl40yz3"))))
>> +    (build-system r-build-system)
>> +    (home-page "http://cran.r-project.org/web/packages/survival")
>> +    (synopsis "This package does survival analysis")
>
> How about “Routines and models for 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.")
>
> “Surv” –> “@code{Surv}”?
>
>> +  (license license:lgpl2.0+)))
>
> Okay.  Thanks!
>
> ~~ Ricardo

Thanks again for your time.

Kind regards,
Roel Janssen

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-10 10:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-09 11:31 [PATCH] gnu: Add r-survival Roel Janssen
2016-05-09 19:53 ` Ricardo Wurmus
2016-05-10 10:14   ` Roel Janssen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).