GNU bug report logs - #42103
[PATCH] gnu: Add r-flexsurv and dependency

Previous Next

Package: guix-patches;

Reported by: Lo Peter <peterloleungyau <at> gmail.com>

Date: Sun, 28 Jun 2020 07:43:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42103 in the body.
You can then email your comments to 42103 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#42103; Package guix-patches. (Sun, 28 Jun 2020 07:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lo Peter <peterloleungyau <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 28 Jun 2020 07:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lo Peter <peterloleungyau <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add r-flexsurv and dependency
Date: Sun, 28 Jun 2020 15:42:13 +0800
Dear all,

I am submitting a patch series of r-flexsurv and its dependency.

Regards,
Peter




Information forwarded to guix-patches <at> gnu.org:
bug#42103; Package guix-patches. (Sun, 28 Jun 2020 07:45:01 GMT) Full text and rfc822 format available.

Message #8 received at 42103 <at> debbugs.gnu.org (full text, mbox):

From: Peter Lo <peterloleungyau <at> gmail.com>
To: 42103 <at> debbugs.gnu.org
Cc: Peter Lo <peterloleungyau <at> gmail.com>
Subject: [PATCH 1/2] gnu: Add r-muhaz.
Date: Sun, 28 Jun 2020 15:44:13 +0800
* gnu/packages/cran.scm (r-muhaz): 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 ab5e57c0e2..b6cc9b48c3 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22325,3 +22325,26 @@ across a wide array of bioinformatic R packages.")
 and clustering large sequence datasets using fast alignment-free k-mer
 counting and recursive k-means partitioning.")
     (license license:gpl3)))
+
+(define-public r-muhaz
+  (package
+    (name "r-muhaz")
+    (version "1.2.6.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "muhaz" version))
+        (sha256
+          (base32
+            "08qh43zx6h3yby44q2vxphfvmfdmqxpgyp0734yn341sy9n8pkkk"))))
+    (properties `((upstream-name . "muhaz")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-survival" ,r-survival)))
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page
+      "https://cran.r-project.org/web/packages/muhaz")
+    (synopsis
+      "Hazard Function Estimation in Survival Analysis")
+    (description
+      "Produces a smooth estimate of the hazard function for censored data.")
+    (license (list license:gpl2+ license:gpl3+))))
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#42103; Package guix-patches. (Sun, 28 Jun 2020 07:45:02 GMT) Full text and rfc822 format available.

Message #11 received at 42103 <at> debbugs.gnu.org (full text, mbox):

From: Peter Lo <peterloleungyau <at> gmail.com>
To: 42103 <at> debbugs.gnu.org
Cc: Peter Lo <peterloleungyau <at> gmail.com>
Subject: [PATCH 2/2] gnu: Add r-flexsurv.
Date: Sun, 28 Jun 2020 15:44:14 +0800
* gnu/packages/cran.scm (r-flexsurv): New variable.
---
 gnu/packages/cran.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b6cc9b48c3..0ddd0d29d2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22348,3 +22348,40 @@ counting and recursive k-means partitioning.")
     (description
       "Produces a smooth estimate of the hazard function for censored data.")
     (license (list license:gpl2+ license:gpl3+))))
+
+(define-public r-flexsurv
+  (package
+    (name "r-flexsurv")
+    (version "1.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "flexsurv" version))
+        (sha256
+          (base32
+            "0x7p1rv51pplfyyzcg63ssb8z56mig7y0363hkr0219w3cvyq9nr"))))
+    (properties `((upstream-name . "flexsurv")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-desolve" ,r-desolve)
+        ("r-mstate" ,r-mstate)
+        ("r-muhaz" ,r-muhaz)
+        ("r-mvtnorm" ,r-mvtnorm)
+        ("r-quadprog" ,r-quadprog)
+        ("r-rcpp" ,r-rcpp)
+        ("r-survival" ,r-survival)
+        ("r-tibble" ,r-tibble)
+        ("r-tidyr" ,r-tidyr)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "https://github.com/chjackson/flexsurv-dev")
+    (synopsis
+      "Flexible Parametric Survival and Multi-State Models")
+    (description
+      "Flexible parametric models for time-to-event data, including
+the Royston-Parmar spline model, generalized gamma and generalized F
+distributions.  Any user-defined parametric distribution can be
+fitted, given at least an R function defining the probability density
+or hazard.  There are also tools for fitting and predicting from fully
+parametric multi-state models.")
+    (license license:gpl2+)))
-- 
2.17.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Fri, 11 Sep 2020 06:02:01 GMT) Full text and rfc822 format available.

Notification sent to Lo Peter <peterloleungyau <at> gmail.com>:
bug acknowledged by developer. (Fri, 11 Sep 2020 06:02:02 GMT) Full text and rfc822 format available.

Message #16 received at 42103-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Lo Peter <peterloleungyau <at> gmail.com>
Cc: 42103-done <at> debbugs.gnu.org
Subject: Re: [bug#42103] [PATCH] gnu: Add r-flexsurv and dependency
Date: Fri, 11 Sep 2020 08:02:31 +0200
Hi Peter,

> I am submitting a patch series of r-flexsurv and its dependency.

I changed synopsis and description of both package definitions and
pushed them to the master branch with commit 9e4ef763ea.

Sorry for the delay!

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 09 Oct 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.