gnu: Add r-svglite.

* gnu/packages/statistics.scm (r-svglite): New variable.
This commit is contained in:
Ben Woodcroft 2016-07-05 20:50:27 +08:00
parent c5940b157e
commit 3aebedcc02
No known key found for this signature in database
GPG Key ID: E44DCCD146E0CCF4
1 changed files with 25 additions and 0 deletions

View File

@ -634,6 +634,31 @@ aesthetic attributes.")
and to generate base64 encoded string from raster matrix.") and to generate base64 encoded string from raster matrix.")
(license license:gpl3))) (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 (define-public r-assertthat
(package (package
(name "r-assertthat") (name "r-assertthat")