unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Add ztable.
@ 2016-03-31 13:51 Ricardo Wurmus
  2016-03-31 19:18 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2016-03-31 13:51 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-r-ztable.patch --]
[-- Type: text/x-patch, Size: 1580 bytes --]

From 48bb548bf2a3c009eed6cf3b4a13b92da28d3b3b Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 18 Mar 2016 12:14:32 +0100
Subject: [PATCH] gnu: Add r-ztable.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 1b114b3..0c6c017 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2046,3 +2046,24 @@ 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-ztable
+  (package
+    (name "r-ztable")
+    (version "0.1.5")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "ztable" version))
+              (sha256
+               (base32
+                "1jfqnqy9544gfvz3bsb48v4177nwp4b4n9l2743asq8sbq305b5r"))))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/ztable")
+    (synopsis "Zebra-striped tables in LaTeX and HTML formats for R")
+    (description
+     "This package provides functions to make zebra-striped tables (tables
+with alternating row colors) in LaTeX and HTML formats easily from
+@code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova},
+@code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and
+@code{cbind.mytable} objects.")
+    (license license:gpl2+)))
-- 
2.1.0

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

* Re: [PATCH] Add ztable.
  2016-03-31 13:51 [PATCH] Add ztable Ricardo Wurmus
@ 2016-03-31 19:18 ` Leo Famulari
  2016-04-01 10:42   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2016-03-31 19:18 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

On Thu, Mar 31, 2016 at 03:51:18PM +0200, Ricardo Wurmus wrote:
> From 48bb548bf2a3c009eed6cf3b4a13b92da28d3b3b Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Fri, 18 Mar 2016 12:14:32 +0100
> Subject: [PATCH] gnu: Add r-ztable.
> 
> * gnu/packages/statistics.scm (r-ztable): New variable.

I didn't want to wait for R to build on my machine, so I only linted it,
but it LGTM otherwise!

> ---
>  gnu/packages/statistics.scm | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
> index 1b114b3..0c6c017 100644
> --- a/gnu/packages/statistics.scm
> +++ b/gnu/packages/statistics.scm
> @@ -2046,3 +2046,24 @@ 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-ztable
> +  (package
> +    (name "r-ztable")
> +    (version "0.1.5")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (cran-uri "ztable" version))
> +              (sha256
> +               (base32
> +                "1jfqnqy9544gfvz3bsb48v4177nwp4b4n9l2743asq8sbq305b5r"))))
> +    (build-system r-build-system)
> +    (home-page "http://cran.r-project.org/web/packages/ztable")
> +    (synopsis "Zebra-striped tables in LaTeX and HTML formats for R")
> +    (description
> +     "This package provides functions to make zebra-striped tables (tables
> +with alternating row colors) in LaTeX and HTML formats easily from
> +@code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova},
> +@code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and
> +@code{cbind.mytable} objects.")
> +    (license license:gpl2+)))
> -- 
> 2.1.0
> 
> 

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

* Re: [PATCH] Add ztable.
  2016-03-31 19:18 ` Leo Famulari
@ 2016-04-01 10:42   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-04-01 10:42 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel


Leo Famulari <leo@famulari.name> writes:

> On Thu, Mar 31, 2016 at 03:51:18PM +0200, Ricardo Wurmus wrote:
>> From 48bb548bf2a3c009eed6cf3b4a13b92da28d3b3b Mon Sep 17 00:00:00 2001
>> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
>> Date: Fri, 18 Mar 2016 12:14:32 +0100
>> Subject: [PATCH] gnu: Add r-ztable.
>> 
>> * gnu/packages/statistics.scm (r-ztable): New variable.
>
> I didn't want to wait for R to build on my machine, so I only linted it,
> but it LGTM otherwise!

Thanks.  Pushed to master.

~~ Ricardo

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

end of thread, other threads:[~2016-04-01 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 13:51 [PATCH] Add ztable Ricardo Wurmus
2016-03-31 19:18 ` Leo Famulari
2016-04-01 10:42   ` Ricardo Wurmus

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).