summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRaoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>2016-12-27 20:52:20 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-12-29 19:54:59 +0100
commit649d0c48411f9d03bfd5a0a7719903ecf70f4196 (patch)
treec4f149f75e348307e53484da836f592a3f5e4acb /gnu
parent6ba279853c871329441c76adff67d97ad76bf13c (diff)
downloadguix-649d0c48411f9d03bfd5a0a7719903ecf70f4196.tar.gz
gnu: Add r-sourcetools.
* gnu/packages/statistics.scm (r-sourcetools): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 16de2eac32..52db18c29a 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3853,3 +3853,23 @@ within a category based on their density using quasirandom noise.")
 swarm plot is a one-dimensional scatter plot like stripchart, but with
 closely-packed, non-overlapping points.")
     (license license:artistic2.0)))
+
+(define-public r-sourcetools
+  (package
+    (name "r-sourcetools")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "sourcetools" version))
+       (sha256
+        (base32
+         "0jx6kslygfqaic3cmjwag3dy98q1a2dw20cz7z8agsknmmbk6dy2"))))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/sourcetools")
+    (synopsis "Tools for reading, tokenizing and parsing R code")
+    (description
+     "The sourcetools package provides both an R and C++ interface for the
+tokenization of R code, and helpers for interacting with the tokenized
+representation of R code.")
+    (license license:expat)))