unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Brown <brown@fastmail.com>
To: 32202@debbugs.gnu.org
Subject: [bug#32202] [PATCH] gnu: Add r-txtplot.
Date: Wed, 18 Jul 2018 14:33:33 -0500	[thread overview]
Message-ID: <87va9cxrsi.fsf@fastmail.com> (raw)

[-- 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


             reply	other threads:[~2018-07-18 19:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-18 19:33 Eric Brown [this message]
2018-07-18 19:59 ` [bug#32202] r-txtplot: Corrected patch sets Eric Brown
2018-07-19  9:46   ` bug#32202: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87va9cxrsi.fsf@fastmail.com \
    --to=brown@fastmail.com \
    --cc=32202@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).