summary refs log tree commit diff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-07-05 20:46:24 +0800
committerBen Woodcroft <donttrustben@gmail.com>2016-07-06 15:17:29 +0800
commitc5940b157e149c9cb220a9f4af97b07d3ed21e59 (patch)
tree762204748638ebff520848ef51f382dfaa8aa05f /gnu/packages/statistics.scm
parent6baa83d2838d11808ad0f317fbbd276f7c5904cb (diff)
downloadguix-c5940b157e149c9cb220a9f4af97b07d3ed21e59.tar.gz
gnu: Add r-gdtools.
* gnu/packages/statistics.scm (r-gdtools): New variable.
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 73c30ae080..24fbabee9f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -610,6 +610,30 @@ multidimensional conditioning system and a consistent interface to map data to
 aesthetic attributes.")
     (license license:gpl2+)))
 
+(define-public r-gdtools
+  (package
+    (name "r-gdtools")
+    (version "0.0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "gdtools" version))
+       (sha256
+        (base32
+         "1bmnf9d677f2jy8jnb9ymjz1qzm4yrd0qp6k5qrrly06jfffyx7g"))))
+    (build-system r-build-system)
+    (native-inputs
+     `(("r-rcpp" ,r-rcpp)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("cairo" ,cairo)))
+    (home-page "http://cran.r-project.org/web/packages/gdtools")
+    (synopsis "Utilities for graphical rendering")
+    (description
+     "The @code{gdtools} package provides functionalities to get font metrics
+and to generate base64 encoded string from raster matrix.")
+    (license license:gpl3)))
+
 (define-public r-assertthat
   (package
     (name "r-assertthat")