From 3ca3843cd2fb34d254cd5930b70283136e0f91ea Mon Sep 17 00:00:00 2001 From: Vicente Vera Parra Date: Tue, 15 Sep 2015 14:17:50 -0300 Subject: [PATCH 07/19] gnu: Add r-highr. * gnu/packages/statistics.scm (r-highr): New variable. --- gnu/packages/statistics.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index be9916f..d4a892f 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -637,3 +637,25 @@ indent will be added to the code automatically, and comments will 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.") (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 + "This package 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.2