diff mbox

gnu: Add r-zoo.

Message ID 87r3dbpjin.fsf@gnu.org
State Superseded
Headers show

Commit Message

Roel Janssen May 9, 2016, 11:18 a.m. UTC
Dear Guix,

There's still a range of R packages I would like to add.
Here's another one of them.

Thank you for your time.

Kind regards,
Roel Janssen

>From 11a1793ee3f8c9954fae873dc7a6b94412e51b83 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Mon, 9 May 2016 13:15:41 +0200
Subject: [PATCH] gnu: Add r-zoo.

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

Comments

Leo Famulari May 23, 2016, 2:02 a.m. UTC | #1
On Mon, May 09, 2016 at 01:18:08PM +0200, Roel Janssen wrote:
> * gnu/packages/statistics.scm (r-zoo): New variable.

Thanks, looks good!

The patch no longer applies. Can you rebase it on the current master
branch and re-send?
diff mbox

Patch

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 7b34832..5ede531 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2593,6 +2593,25 @@  directly from R.  Once uploaded to a plotly account, plotly graphs (and the
 data behind them) can be viewed and modified in a web browser.")
     (license license:x11)))
 
+(define-public r-zoo
+  (package
+    (name "r-zoo")
+    (version "1.7-13")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "zoo" version))
+              (sha256
+               (base32
+                "0m67bnrg7r1jxvs9p7rpa430szp5qfp65r056yb8bivpc16jd98c"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-lattice" ,r-lattice)))
+    (home-page "http://zoo.R-Forge.R-project.org/")
+    (synopsis "S3 infrastructure for regular and irregular time series")
+    (description "This package contains an S3 class with methods for totally
+ordered indexed observations.  It is particularly aimed at irregular time
+series of numeric vectors/matrices and factors.")
+    (license license:gpl2+)))
 
 (define-public r-ztable
   (package