--- Begin Message ---
Subject: |
[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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#32202] r-txtplot: Corrected patch sets |
Date: |
Thu, 19 Jul 2018 11:46:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Eric Brown <address@hidden> skribis:
>>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 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’.
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+)))
--- End Message ---