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

From: Ricardo Wurmus <[email-masked]>
Date: Mon, 3 Sep 2018 17:38:20 +0200

Hi,

> 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))

It looks like these changes belong to another patch as the package added
by this patch doesn’t have any inputs.

> +(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")

“clients"

> +    (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?).")

Please reflow the description — the first line looks unusually long.

> +    (license license:gpl2)))

This is correct.

Could you please send an updated patch?

Thanks!

--
Ricardo