aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-07-05 20:50:27 +0800
committerBen Woodcroft <donttrustben@gmail.com>2016-07-06 15:17:29 +0800
commit3aebedcc021faf72f7a002ce29a4de427366304b (patch)
tree08c3809f46f9696ce4799adc8b57c78614bdf5d7
parentc5940b157e149c9cb220a9f4af97b07d3ed21e59 (diff)
downloadgnu-guix-3aebedcc021faf72f7a002ce29a4de427366304b.tar
gnu-guix-3aebedcc021faf72f7a002ce29a4de427366304b.tar.gz
gnu: Add r-svglite.
* gnu/packages/statistics.scm (r-svglite): New variable.
-rw-r--r--gnu/packages/statistics.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 24fbabee9f..d2f3bb0a9b 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -634,6 +634,31 @@ aesthetic attributes.")
and to generate base64 encoded string from raster matrix.")
(license license:gpl3)))
+(define-public r-svglite
+ (package
+ (name "r-svglite")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "svglite" version))
+ (sha256
+ (base32
+ "11ryicjglfi6jvkk4jgg5kra42qbs5z2zid7jjhlslpjcljfwc70"))))
+ (build-system r-build-system)
+ (native-inputs `(("r-rcpp" ,r-rcpp)))
+ (propagated-inputs
+ `(("r-bh" ,r-bh)
+ ("r-gdtools" ,r-gdtools)))
+ (home-page "https://github.com/hadley/svglite")
+ (synopsis "SVG graphics device")
+ (description
+ "@code{svglite} is a graphics device that produces clean
+@dfn{SVG} (Scalable Vector Graphics) output, suitable for use on the web, or
+hand editing. Compared to the built-in @code{svg()}, @code{svglite} is
+considerably faster, produces smaller files, and leaves text as is.")
+ (license license:gpl2+)))
+
(define-public r-assertthat
(package
(name "r-assertthat")