unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#30403] [PATCH] gnu: Add r-colorout.
@ 2018-02-09 20:36 Oleg Pykhalov
  2018-03-07 12:52 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pykhalov @ 2018-02-09 20:36 UTC (permalink / raw)
  To: 30403

* 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

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

* [bug#30403] [PATCH] gnu: Add r-colorout.
  2018-02-09 20:36 [bug#30403] [PATCH] gnu: Add r-colorout Oleg Pykhalov
@ 2018-03-07 12:52 ` Ludovic Courtès
  2018-03-07 13:48   ` bug#30403: " Oleg Pykhalov
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-03-07 12:52 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 30403

Hi Oleg,

Oleg Pykhalov <go.wigust@gmail.com> skribis:

> * gnu/packages/statistics.scm (r-colorout): New public variable.

Please push!

Note that ‘HACKING’ states:

  For patches that just add a new package, and a simple one, it’s OK to commit,
  if you’re confident (which means you successfully built it in a chroot setup,
  and have done a reasonable copyright and license auditing.)  Likewise for
  package upgrades, except upgrades that trigger a lot of rebuilds (for example,
  upgrading GnuTLS or GLib.)  We have a mailing list for commit notifications
  (guix-commits@gnu.org), so people can notice.  Before pushing your changes,
  make sure to run ‘git pull --rebase’.

Do take advantage of it!  :-)

Ludo’.

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

* bug#30403: [PATCH] gnu: Add r-colorout.
  2018-03-07 12:52 ` Ludovic Courtès
@ 2018-03-07 13:48   ` Oleg Pykhalov
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Pykhalov @ 2018-03-07 13:48 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 30403, 30403-done

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

Hello Ludovic,

Sorry for a push delay.

ludo@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2018-03-07 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-09 20:36 [bug#30403] [PATCH] gnu: Add r-colorout Oleg Pykhalov
2018-03-07 12:52 ` Ludovic Courtès
2018-03-07 13:48   ` bug#30403: " Oleg Pykhalov

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