all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add r-coda.
@ 2016-05-03 12:46 Roel Janssen
  2016-05-04 13:41 ` Roel Janssen
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Janssen @ 2016-05-03 12:46 UTC (permalink / raw)
  To: guix-devel

Dear Guix,

Here's another R package I would like to use with GNU Guix.

Thanks for your time.

Kind regards,
Roel Janssen


From 1308ecf523c5d50bf345df9277e12e03336ce32c Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Tue, 3 May 2016 14:43:22 +0200
Subject: [PATCH] gnu: Add r-coda.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 3d0faf7..eb83a34 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
+;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1239,6 +1240,25 @@ inference for statistical models.")
        `(("python2-setuptools" ,python2-setuptools)
          ,@(package-native-inputs stats))))))
 
+(define-public r-coda
+  (package
+    (name "r-coda")
+    (version "0.18-1")
+    (source (origin
+      (method url-fetch)
+      (uri (cran-uri "coda" version))
+      (sha256
+       (base32 "03sc780734zj2kqcm8lkyvf76fql0jbfhkblpn8l58zmb6cqi958"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-lattice" ,r-lattice)))
+    (home-page "http://cran.r-project.org/web/packages/coda")
+    (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
+    (description "Provides functions for summarizing and plotting the output
+from Markov Chain Monte Carlo (MCMC) simulations, as well as diagnostic tests
+of convergence to the equilibrium distribution of the Markov chain.")
+    (license license:gpl2+)))
+
 (define-public r-xml2
   (package
     (name "r-xml2")
-- 
2.7.4

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

* Re: [PATCH] gnu: Add r-coda.
  2016-05-03 12:46 [PATCH] gnu: Add r-coda Roel Janssen
@ 2016-05-04 13:41 ` Roel Janssen
  2016-05-04 13:55   ` Roel Janssen
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Janssen @ 2016-05-04 13:41 UTC (permalink / raw)
  To: guix-devel

I improved the patch by removing r-lattice because that is not needed,
and I made a complete sentence in the description.

Here it is:

From aedf6029283733a19941de2d2b641f87790189d3 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Wed, 4 May 2016 15:39:18 +0200
Subject: [PATCH] gnu: Add r-coda.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 3d0faf7..409b42f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
+;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1239,6 +1240,25 @@ inference for statistical models.")
        `(("python2-setuptools" ,python2-setuptools)
          ,@(package-native-inputs stats))))))
 
+(define-public r-coda
+  (package
+    (name "r-coda")
+    (version "0.18-1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "coda" version))
+              (sha256
+               (base32
+                "03sc780734zj2kqcm8lkyvf76fql0jbfhkblpn8l58zmb6cqi958"))))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/coda")
+    (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
+    (description "This package provides functions for summarizing and plotting
+the output from Markov Chain Monte Carlo (MCMC) simulations, as well as
+diagnostic tests of convergence to the equilibrium distribution of the Markov
+chain.")
+    (license license:gpl2+)))
+
 (define-public r-xml2
   (package
     (name "r-xml2")
-- 
2.7.4

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

* Re: [PATCH] gnu: Add r-coda.
  2016-05-04 13:41 ` Roel Janssen
@ 2016-05-04 13:55   ` Roel Janssen
  2016-05-06 18:02     ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Janssen @ 2016-05-04 13:55 UTC (permalink / raw)
  To: guix-devel

So, we do need r-lattice when actually using the module..
I attached yet another patch.

From bc85f769c42418b307339aaafb2f3785a7a897e1 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Wed, 4 May 2016 15:53:45 +0200
Subject: [PATCH] gnu: Add r-coda.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 3d0faf7..a362b32 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
+;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1239,6 +1240,27 @@ inference for statistical models.")
        `(("python2-setuptools" ,python2-setuptools)
          ,@(package-native-inputs stats))))))
 
+(define-public r-coda
+  (package
+    (name "r-coda")
+    (version "0.18-1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "coda" version))
+              (sha256
+               (base32
+                "03sc780734zj2kqcm8lkyvf76fql0jbfhkblpn8l58zmb6cqi958"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-lattice" ,r-lattice)))
+    (home-page "http://cran.r-project.org/web/packages/coda")
+    (synopsis "This is a package for Output Analysis and Diagnostics for MCMC")
+    (description "This package provides functions for summarizing and plotting
+the output from Markov Chain Monte Carlo (MCMC) simulations, as well as
+diagnostic tests of convergence to the equilibrium distribution of the Markov
+chain.")
+    (license license:gpl2+)))
+
 (define-public r-xml2
   (package
     (name "r-xml2")
-- 
2.7.4


Roel Janssen writes:

> I improved the patch by removing r-lattice because that is not needed,
> and I made a complete sentence in the description.
>
> Here it is:
>
> ...

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

* Re: [PATCH] gnu: Add r-coda.
  2016-05-04 13:55   ` Roel Janssen
@ 2016-05-06 18:02     ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2016-05-06 18:02 UTC (permalink / raw)
  To: Roel Janssen; +Cc: guix-devel

On Wed, May 04, 2016 at 03:55:23PM +0200, Roel Janssen wrote:
> So, we do need r-lattice when actually using the module..
> I attached yet another patch.
> 
> >From bc85f769c42418b307339aaafb2f3785a7a897e1 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Wed, 4 May 2016 15:53:45 +0200
> Subject: [PATCH] gnu: Add r-coda.
> 
> * gnu/packages/statistics.scm (r-coda): New variable.

Thanks, applied as 82047474ea!

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

end of thread, other threads:[~2016-05-06 18:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03 12:46 [PATCH] gnu: Add r-coda Roel Janssen
2016-05-04 13:41 ` Roel Janssen
2016-05-04 13:55   ` Roel Janssen
2016-05-06 18:02     ` Leo Famulari

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.