From: Oleg Pykhalov <go.wigust@gmail.com>
To: 30403@debbugs.gnu.org
Subject: [bug#30403] [PATCH] gnu: Add r-colorout.
Date: Fri, 9 Feb 2018 23:36:40 +0300 [thread overview]
Message-ID: <20180209203640.1083-1-go.wigust@gmail.com> (raw)
* 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
next reply other threads:[~2018-02-09 20:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-09 20:36 Oleg Pykhalov [this message]
2018-03-07 12:52 ` [bug#30403] [PATCH] gnu: Add r-colorout Ludovic Courtès
2018-03-07 13:48 ` bug#30403: " Oleg Pykhalov
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=20180209203640.1083-1-go.wigust@gmail.com \
--to=go.wigust@gmail.com \
--cc=30403@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).