From: Ben Woodcroft <donttrustben@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 2/3] gnu: Add r-svglite.
Date: Tue, 5 Jul 2016 21:06:34 +0800 [thread overview]
Message-ID: <20160705130635.668-3-donttrustben@gmail.com> (raw)
In-Reply-To: <20160705130635.668-1-donttrustben@gmail.com>
* gnu/packages/statistics.scm (r-svglite): New variable.
---
gnu/packages/statistics.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 24fbabe..6f27aa6 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 "An 'SVG' Graphics Device")
+ (description
+ "@code{svglite} is a graphics device that produces clean 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")
--
2.9.0
next prev parent reply other threads:[~2016-07-05 13:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-05 13:06 [PATCH] ggplot2: fix ggsave('a.svg') Ben Woodcroft
2016-07-05 13:06 ` [PATCH 1/3] gnu: Add r-gdtools Ben Woodcroft
2016-07-06 5:27 ` Ricardo Wurmus
2016-07-05 13:06 ` Ben Woodcroft [this message]
2016-07-06 5:30 ` [PATCH 2/3] gnu: Add r-svglite Ricardo Wurmus
2016-07-07 10:16 ` Ben Woodcroft
2016-07-05 13:06 ` [PATCH 3/3] gnu: r-ggplot2: Add r-svglite to propagated-inputs Ben Woodcroft
2016-07-06 5:31 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160705130635.668-3-donttrustben@gmail.com \
--to=donttrustben@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).