Subject: [bug#59870] [PATCH 10/12] gnu: Add r-gridsvg.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Wed, 7 Dec 2022 06:18:35 +0100

* gnu/packages/cran.scm (r-gridsvg): New variable.
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 646737ea31..b61ee1c2dc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -16005,6 +16005,30 @@ (define-public r-tractor-base
 handling.")
     (license license:gpl2)))
 
+(define-public r-gridsvg
+  (package
+    (name "r-gridsvg")
+    (version "1.7-4")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "gridSVG" version))
+              (sha256
+               (base32
+                "1jspjn56yrkx98hhs98npzm0k0kwpv8x1hg40kphx5ikhvincxmr"))))
+    (properties `((upstream-name . "gridSVG")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-jsonlite
+           r-xml))
+    (home-page "https://cran.r-project.org/package=gridSVG")
+    (synopsis "Export grid gaphics as SVG")
+    (description
+     "This package provides functions to export graphics drawn with package grid
+to SVG format.  Extra functions provide access to SVG features that are not
+available in standard R graphics, such as hyperlinks, animation, filters, masks,
+clipping paths, and gradient and pattern fills.")
+    (license (list license:gpl2 license:gpl3))))  ;;is specified only GPL
+
 (define-public r-grimport
   (package
     (name "r-grimport")
-- 
2.38.1