unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#32202] [PATCH] gnu: Add r-txtplot.
@ 2018-07-18 19:33 Eric Brown
  2018-07-18 19:59 ` [bug#32202] r-txtplot: Corrected patch sets Eric Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Brown @ 2018-07-18 19:33 UTC (permalink / raw)
  To: 32202

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]

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

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] gnu: Add r-txtplot. --]
[-- Type: text/x-patch, Size: 1959 bytes --]

From 99b79ac10f60b9e5e609913277e5ff3cf181a8ca Mon Sep 17 00:00:00 2001
From: Eric Brown <brown@fastmail.com>
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


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

end of thread, other threads:[~2018-07-19  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-18 19:33 [bug#32202] [PATCH] gnu: Add r-txtplot Eric Brown
2018-07-18 19:59 ` [bug#32202] r-txtplot: Corrected patch sets Eric Brown
2018-07-19  9:46   ` bug#32202: " Ludovic Courtès

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