Subject: [bug#32585] [PATCH] gnu: Add r-svgui.

From: pimi <[email-masked]>
Date: Thu, 30 Aug 2018 12:16:32 +0200

gnu/packages/cran.scm (r-svgui): New variable
---
 gnu/packages/cran.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 016d1b1e4..e6fb6b8f7 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -41,7 +41,9 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages tls)
-  #:use-module (gnu packages web))
+  #:use-module (gnu packages web)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages gnome))
 
 (define-public r-tidyverse
   (package
@@ -4988,3 +4990,25 @@ maximum cycle number.  The @code{r-abcoptim} implements the Artificial bee
 colony optimization algorithm @url{http://mf.erciyes.edu.tr/abc/pub/tr06_2005.pdf}.
   This version is a work-in-progress and is written in R code.")
     (license license:expat)))
+
+(define-public r-svgui
+  (package
+    (name "r-svgui")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "svGUI" version))
+       (sha256
+        (base32 "1r7ab0p4yr8q03gj02hmj7k1ghksgkg4nx750c0ajfs2q9y1dxfc"))))
+    (properties `((upstream-name . "svGUI")))
+    (build-system r-build-system)
+    (home-page "https://github.com/SciViews/svGUI/")
+    (synopsis "Functions for managing GUI client in R")
+    (description
+     "The SciViews @code{svGUI} package eases the management of Graphical User Interfaces
+(GUI) in R.  It is independent from any particular GUI widgets (Tk, Gtk2,
+native, ...).  It centralizes info about GUI elements currently used, and it
+dispatches GUI calls to the particular toolkits in use in function of the
+context (is R run at the terminal, within a Tk application, a HTML page?).")
+    (license license:gpl2)))
-- 
2.17.1