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

* [bug#32202] r-txtplot: Corrected patch sets
  2018-07-18 19:33 [bug#32202] [PATCH] gnu: Add r-txtplot Eric Brown
@ 2018-07-18 19:59 ` Eric Brown
  2018-07-19  9:46   ` bug#32202: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Brown @ 2018-07-18 19:59 UTC (permalink / raw)
  To: 32202

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

Apologies, I think I made a mistake in my previous patch set. I've
attached a new suggested addition.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-r-txtplot.patch --]
[-- Type: text/x-patch, Size: 1963 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 1/2] 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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-Restore-erroneously-replaced-sha256.patch --]
[-- Type: text/x-patch, Size: 897 bytes --]

From 4043702370d6391c85ad223b046c01a45dd990d3 Mon Sep 17 00:00:00 2001
From: Eric Brown <brown@fastmail.com>
Date: Wed, 18 Jul 2018 14:52:27 -0500
Subject: [PATCH 2/2] Restore erroneously replaced sha256

---
 gnu/packages/statistics.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2cdf086c5..5228524ae 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
-         "1949ab1bzvysdb79g8x1gaknj0ih3d6g63pv9512h5m5l3a6c31h"))))
+         "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
     (build-system r-build-system)
     (propagated-inputs
      `(("r-knitr" ,r-knitr)
-- 
2.18.0


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

* bug#32202: r-txtplot: Corrected patch sets
  2018-07-18 19:59 ` [bug#32202] r-txtplot: Corrected patch sets Eric Brown
@ 2018-07-19  9:46   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-07-19  9:46 UTC (permalink / raw)
  To: Eric Brown; +Cc: 32202-done

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

Hello,

Eric Brown <brown@fastmail.com> skribis:

>>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 1/2] gnu: Add r-txtplot.
>
> * gnu/packages/statistics.scm (r-txtplot): New variable.

I merged the two patches and applied the patch below to address tiny
issues reported by ‘guix lint’.

Thank you!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 935 bytes --]

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 5228524ae..d8c1e6df3 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5654,10 +5654,10 @@ to any arbitrary string.  In this case, it is up to you to set valid values.")
         (base32
          "1949ab1bzvysdb79g8x1gaknj0ih3d6g63pv9512h5m5l3a6c31h"))))
     (build-system r-build-system)
-    (home-page "https://cran.r-project.org/web/packages/txtplot")
+    (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
+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+)))

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