From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] gnu: Add r-survival. Date: Mon, 09 May 2016 21:53:13 +0200 Message-ID: <87oa8fqa8m.fsf@elephly.net> References: <87posvpiw2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azrFP-0004dz-28 for guix-devel@gnu.org; Mon, 09 May 2016 15:53:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azrFJ-000803-7K for guix-devel@gnu.org; Mon, 09 May 2016 15:53:42 -0400 In-reply-to: <87posvpiw2.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Roel Janssen Cc: Guix-devel Roel Janssen 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 > 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