From 78735b9f3440cca5187d0e7da76c899e97e8208c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 5 May 2019 23:20:56 +0200 Subject: gnu: Add r-grimport2. * gnu/packages/cran.scm (r-grimport2): New variable. --- gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 10e5e8b0d5..f66de4ac95 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -9624,6 +9624,37 @@ handling.") PostScript pictures in R plots.") (license license:gpl2+))) +(define-public r-grimport2 + (package + (name "r-grimport2") + (version "0.1-4") + (source + (origin + (method url-fetch) + (uri (cran-uri "grImport2" version)) + (sha256 + (base32 + "1hwx287pp936f0wbcicplwmhz96ip00wq09dp7bvz80lqcmr8nyx")))) + (properties `((upstream-name . "grImport2"))) + (build-system r-build-system) + (propagated-inputs + `(("r-base64enc" ,r-base64enc) + ("r-jpeg" ,r-jpeg) + ("r-png" ,r-png) + ("r-xml" ,r-xml))) + (home-page "https://cran.r-project.org/web/packages/grImport2/") + (synopsis "Import SVG graphics") + (description + "This package provides functions for importing external vector images and +drawing them as part of R plots. This package is different from the +@code{grImport} package because, where that package imports PostScript format +images, this package imports SVG format images. Furthermore, this package +imports a specific subset of SVG, so external images must be preprocessed +using a package like @code{rsvg} to produce SVG that this package can import. +SVG features that are not supported by R graphics, such as gradient fills, can +be imported and then exported via the @code{gridSVG} package.") + (license license:gpl2+))) + (define-public r-kohonen (package (name "r-kohonen") -- cgit v1.2.3