GNU bug report logs - #30403
[PATCH] gnu: Add r-colorout.

Previous Next

Package: guix-patches;

Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>

Date: Fri, 9 Feb 2018 20:38:01 UTC

Severity: normal

Tags: patch

Done: Oleg Pykhalov <go.wigust <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#30403: closed ([PATCH] gnu: Add r-colorout.)
Date: Wed, 07 Mar 2018 13:49:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 07 Mar 2018 16:48:43 +0300
with message-id <87y3j48090.fsf <at> gmail.com>
and subject line Re: [bug#30403] [PATCH] gnu: Add r-colorout.
has caused the debbugs.gnu.org bug report #30403,
regarding [PATCH] gnu: Add r-colorout.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
30403: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30403
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Oleg Pykhalov <go.wigust <at> gmail.com>
Subject: [PATCH] gnu: Add r-colorout.
Date: Fri,  9 Feb 2018 23:36:40 +0300
* gnu/packages/statistics.scm (r-colorout): New public variable.
---
 gnu/packages/statistics.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 58c7b3f44..ade29df04 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5534,3 +5534,35 @@ inferring an appropriate positioning method.")
       (description "Did you ever wish you could make scatter plots with cat
 shaped points?  Now you can!")
       (license license:asl2.0))))
+
+(define-public r-colorout
+  (package
+    (name "r-colorout")
+    (version "1.2-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/jalvesaq/colorout/archive/"
+                           "v" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "07vqx5ihgnq4dzn5jnfjfhdm3957v4prvf8vhnb3cwvlly4l7p9v"))))
+    (build-system r-build-system)
+    (home-page "https://github.com/jalvesaq/colorout")
+    (synopsis "Colorize output in the R REPL")
+    (description "@code{colorout} is an R package that colorizes R output when
+running in terminal emulator.
+
+R STDOUT is parsed and numbers, negative numbers, dates in the standard
+format, strings, and R constants are identified and wrapped by special ANSI
+scape codes that are interpreted by terminal emulators as commands to colorize
+the output.  R STDERR is also parsed to identify the expressions warning and
+error and their translations to many languages.  If these expressions are
+found, the output is colorized accordingly; otherwise, it is colorized as
+STDERROR (blue, by default).
+
+You can customize the colors according to your taste, guided by the color
+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+)))
-- 
2.15.1



[Message part 3 (message/rfc822, inline)]
From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 30403 <at> debbugs.gnu.org, 30403-done <at> debbugs.gnu.org
Subject: Re: [bug#30403] [PATCH] gnu: Add r-colorout.
Date: Wed, 07 Mar 2018 16:48:43 +0300
[Message part 4 (text/plain, inline)]
Hello Ludovic,

Sorry for a push delay.

ludo <at> gnu.org (Ludovic Courtès) writes:

>> * gnu/packages/statistics.scm (r-colorout): New public variable.
>
> Please push!
>
> Note that ‘HACKING’ states:

[…]

Thank you for notice!  I was thinking to push it this week actually,
which I should did previous week.  I want to get a little time buffer,
because I could miss synopsis or description and hope somebody notice.

Pushed as 06c15ee5856442f5520a185d0f1934b6afb1c01b

I'll close the bug report.

Oleg.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.