guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/20: gnu: Add r-ggplotify.


From: guix-commits
Subject: 10/20: gnu: Add r-ggplotify.
Date: Wed, 27 Mar 2019 11:17:31 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit e25828839d81b097f59d9c217aa3386d232766c3
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Mar 27 15:44:08 2019 +0100

    gnu: Add r-ggplotify.
    
    * gnu/packages/cran.scm (r-ggplotify): New variable.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c943efe..5ca6be6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -13145,3 +13145,30 @@ conversion and comparisons implemented in C++, and 
offers 100-fold speed
 improvements over the @code{convertColor} function in the @code{grDevices}
 package.")
     (license license:expat)))
+
+(define-public r-ggplotify
+  (package
+    (name "r-ggplotify")
+    (version "0.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ggplotify" version))
+       (sha256
+        (base32
+         "14hqlpvnaq5psz1ljcpw9isa06827rg3fm5c1dx159rsjfi56yby"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-ggplot2" ,r-ggplot2)
+       ("r-gridgraphics" ,r-gridgraphics)
+       ("r-rvcheck" ,r-rvcheck)))
+    (home-page "https://github.com/GuangchuangYu/ggplotify";)
+    (synopsis "Convert plots to @code{grob} or @code{ggplot} object")
+    (description
+     "This package provides tools to convert plot function calls (using
+expression or formula) to @code{grob} or @code{ggplot} objects that are
+compatible with the @code{grid} and @code{ggplot2} environment.  With this
+package, we are able to e.g. use @code{cowplot} to align plots produced by
address@hidden graphics, @code{grid}, @code{lattice}, @code{vcd} etc. by
+converting them to @code{ggplot} objects.")
+    (license license:artistic2.0)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]