From bf82aef0064986fec2fa0a24a83aee20831f2d89 Mon Sep 17 00:00:00 2001 From: Vicente Vera Parra Date: Sun, 13 Sep 2015 13:14:15 -0300 Subject: [PATCH 07/19] gnu: Add r-highr. * gnu/packages/statistics.scm (r-highr): New variable. --- gnu/packages/statistics.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 672fcd2..9535fc6 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -619,3 +619,23 @@ be preserved under certain conditions, so that R code will be more human-readable and tidy. There is also a Shiny app as a user interface in this package (see tidy_app()).") (license license:gpl3+))) + +(define-public r-highr + (package + (name "r-highr") + (version "0.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cran/src/contrib/highr_" + version ".tar.gz")) + (sha256 + (base32 "0jnab5pk5sg4f5krsg5jdamr4y40z2pzxhp5h6fb6wys3m75hzny")))) + (build-system r-build-system) + (home-page "https://github.com/yihui/highr") + (synopsis "Syntax Highlighting for R Source Code") + (description + "Provides syntax highlighting for R source code. Currently it +supports LaTeX and HTML output. Source code of other languages is +supported via Andre Simon's highlight +package (http://www.andre-simon.de).") + (license license:gpl3+))) -- 2.5.1