[bug#37601] gnu: Add r-latex2exp.
diff mbox series

Message ID 20191003134913.10011-1-wz@freeshell.de
State New
Headers show
Series
  • [bug#37601] gnu: Add r-latex2exp.
Related show

Commit Message

Wiktor ┼╗elazny Oct. 3, 2019, 1:49 p.m. UTC
From: Wiktor ┼╗elazny <wzelazny@vurv.cz>

* gnu/packages/cran.scm (r-latex2exp): new variable.
---
 gnu/packages/cran.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3a9a605efe..c1ef358af5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -15637,3 +15637,24 @@  unique identifiers, and whether it is a certain length.  In addition,
 files and to efficiently import multiple tabular data files into one
 data.table.")
     (license license:gpl3)))
+
+(define-public r-latex2exp
+  (package
+    (name "r-latex2exp")
+    (version "0.4.0")
+    (source (origin
+      (method url-fetch)
+      (uri (cran-uri "latex2exp" version))
+      (sha256
+        (base32
+          "12nbcgfmv13k6sc6m326ras9bcvy380b7rxcxphn06r3cfkby0zw"))))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-stringr" ,r-stringr)
+        ("r-magrittr", r-magrittr)))
+    (home-page "https://github.com/stefano-meschiari/latex2exp/")
+    (synopsis "Use LaTeX expressions in plots")
+    (description "@code{latex2exp} parses and converts LaTeX math formulas to
+R's plotmath expressions, used to enter mathematical formulas and symbols to be
+rendered as text, axis labels, etc. throughout R's plotting system.")
+    (license license:expat)))