guix-patches
[Top][All Lists]
Advanced

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

[bug#32202] [PATCH] gnu: Add r-txtplot.


From: Eric Brown
Subject: [bug#32202] [PATCH] gnu: Add r-txtplot.
Date: Wed, 18 Jul 2018 14:33:33 -0500

Please find attached a patch that introduces a new R package: r-txtplot

(This is my first patch, so any comments would be appreciated.)

>From 99b79ac10f60b9e5e609913277e5ff3cf181a8ca Mon Sep 17 00:00:00 2001
From: Eric Brown <address@hidden>
Date: Wed, 18 Jul 2018 14:29:10 -0500
Subject: [PATCH] gnu: Add r-txtplot.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 8be3ce1a8..2cdf086c5 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4426,7 +4426,7 @@ approximate, exact searches, fixed radius searches, bd 
and kb trees.")
                            "fivethirtyeight_" version ".tar.gz"))
        (sha256
         (base32
-         "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
+         "1949ab1bzvysdb79g8x1gaknj0ih3d6g63pv9512h5m5l3a6c31h"))))
     (build-system r-build-system)
     (propagated-inputs
      `(("r-knitr" ,r-knitr)
@@ -5642,6 +5642,26 @@ table made by the command @code{show256Colors()}.  You 
can also set the colors
 to any arbitrary string.  In this case, it is up to you to set valid values.")
     (license license:gpl3+)))
 
+(define-public r-txtplot
+  (package
+    (name "r-txtplot")
+    (version "1.0-3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "txtplot" version))
+       (sha256
+        (base32
+         "1949ab1bzvysdb79g8x1gaknj0ih3d6g63pv9512h5m5l3a6c31h"))))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/txtplot";)
+    (synopsis "Text-based plotting")
+    (description "This package provides functions to produce rudimentary ASCII
+graphics directly in the terminal window. This package provides a basic
+plotting function (and equivalents of curve, density, acf and barplot) as well
+as a boxplot function.")
+    (license license:lgpl3+)))
+
 (define-public java-jdistlib
   (package
     (name "java-jdistlib")
-- 
2.18.0


reply via email to

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