GNU bug report logs - #32699
Adding r-gtk2 and other packages for r-qda (RFC)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Pjotr Prins <pjotr.public12@HIDDEN>; Owned by: Ricardo Wurmus <rekado@HIDDEN>; dated Tue, 11 Sep 2018 12:41:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Owner recorded as Ricardo Wurmus <rekado@HIDDEN>. Request was from Ricardo Wurmus <rekado@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 32699 <at> debbugs.gnu.org:


Received: (at 32699) by debbugs.gnu.org; 13 Sep 2018 12:55:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 13 08:55:42 2018
Received: from localhost ([127.0.0.1]:38818 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g0R9p-0002UN-MU
	for submit <at> debbugs.gnu.org; Thu, 13 Sep 2018 08:55:42 -0400
Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:41828)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1g0R9m-0002UD-Iz
 for 32699 <at> debbugs.gnu.org; Thu, 13 Sep 2018 08:55:39 -0400
Received: from localhost (localhost [127.0.0.1])
 by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id 6C89913160E0
 for <32699 <at> debbugs.gnu.org>; Thu, 13 Sep 2018 14:55:37 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h=
 content-transfer-encoding:content-type:content-type:mime-version
 :message-id:date:date:subject:subject:from:from:user-agent
 :received:received:received; s=mdc; t=1536843332; x=1538657733;
 bh=wxhCM8rFKBsuNY3XH2jUwjFMsq9OvKUimBs8qy6DcHE=; b=ko0qqopImaQt
 jdHLN+V1KQ5cxA5T6iELWH8K14J1tBMzkMHHCOVgSIb/6jG3zNvZw/poreeHFLK7
 jm+Or+Gh7T5mbIlxBQIH9iIqlD0bnr0+Q2b9+MNXzCOxTUCH5bkgmOquwon038Gc
 PbUV4I+NW+wmMPEQApI9Xpnxyi6YJUA=
X-Virus-Scanned: amavisd-new at mdc-berlin.de
Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1])
 by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new,
 port 10024) with ESMTP id NHGNlpu--PPy for <32699 <at> debbugs.gnu.org>;
 Thu, 13 Sep 2018 14:55:32 +0200 (CEST)
Received: from SW-IT-P-CAS3.mdc-berlin.net (puck.citx.mdc-berlin.de
 [141.80.36.101])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))
 (No client certificate requested)
 by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS
 for <32699 <at> debbugs.gnu.org>; Thu, 13 Sep 2018 14:55:32 +0200 (CEST)
Received: from localhost (141.80.113.103) by SW-IT-P-CAS3.mdc-berlin.net
 (141.80.113.58) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Sep
 2018 14:55:32 +0200
User-agent: mu4e 1.0; emacs 26.1
From: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
To: <32699 <at> debbugs.gnu.org>
Subject: Adding r-gtk2 and other packages for r-qda (RFC)
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Thu, 13 Sep 2018 14:55:31 +0200
Message-ID: <idjo9d1eev0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [141.80.113.103]
X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24090.007
X-TM-AS-Result: No-12.914400-8.000000-10
X-TMASE-MatchedRID: LC0ZKcJf5DhAhM05hVUNzaoS9tQ2r9eNHIbSBxtZLpZPgJpuGFm9dv2H
 mccZOynIiItGLdqpiWWEhy9LC+CEjnyBzK5hJBcAU+OjsPhIWDjsU7GLth83WN7rcE6O00oDhdO
 zGiAk/+w5/LCUBpFaEX2uUR00yjWhTwz35qPn7cezI1v7J4hECr7VXHusOfiv8JGeRYYBDDr0Zt
 JJqrR/gwp2c6R6q47ScCxoUTrTheIpIXkM7zdC4ZEbNXwHGDRxQfvCwHnjjjDAVJ5wjg2bT4WGw
 1NtzLd5kJBVGm1yT391i/sNH62M3HjwyyaQ6vldG1VXaQw5gSs6QNs2WCY79dQw8qtEs59hIohS
 IvsUL++Uwu3YfCh3Kd85fi8SrkQacqx1y4k8YIfAJnGRMfFxyRbjReJSRusbJ/qeednLCNW0J2O
 mblS4Ie09cAAeAb8J0Omrxmn6KM6KbEHmVe3v3p4CIKY/Hg3AcmfM3DjaQLHEQdG7H66TyF82MX
 kEdQ77b3HPbb0MwOCCsSANtfjhN1AZj8FXQKDS1ar/PhIWgdiH37SI5cXScA==
X-TM-AS-User-Approved-Sender: Yes
X-TM-AS-User-Blocked-Sender: No
X-TMASE-Result: 10--12.914400-8.000000
X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24090.007
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32699
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Pjotr,

thanks for the patches!

I=E2=80=99m glad that you found the recursive importer helpful.  Unfortunat=
ely,
it doesn=E2=80=99t do a great job with licenses: some of the packages have a
list of GPLv2+ and GPLv3+.  Sometimes this is really just a CRAN
expansion for =E2=80=9CGPLv2 or later=E2=80=9D, other times it means that d=
ifferent
parts of the package are under different licenses.

Could you please check what the license list means for r-rgtk2 and
r-cairodevice?  In some cases we can replace the list with a single
license; in other cases we add a comment above the license field to
state what it really means.

Generally, I would recommend putting these packages in (gnu packages
cran) instead of (gnu packages statistics).  I=E2=80=99ve been moving packa=
ges
from statistics.scm to cran.scm to avoid circular dependencies between
modules.

Here some more comments and questions about the patches:

* the importer unfortunately still defaults to generating HTTP URLs for
  the home page instead of HTTPS.  It also fails to add a trailing slash
  for cran.r-project.org URLs.  Could you please add them?  (This keeps
  the linter happy.)

* the description of many R packages on CRAN don=E2=80=99t use full sentenc=
es,
  whereas for Guix we=E2=80=99d like to use complete sentences.  The easies=
t way
  to fix this is to add =E2=80=9CThis package provides=E2=80=9D to the begi=
nning of the
  package description from CRAN.  (The importer does this automatically,
  when the description begins with =E2=80=9CA =E2=80=9D, but it can=E2=80=
=99t easily guess other
  instances where this would be appropriate.)

* the synopses of R packages from CRAN often use =E2=80=A6 =E2=80=9Ccreativ=
e=E2=80=9D letter
  casing.  Instead of, say, =E2=80=9CR Bindings for Gtk 2.8.0 and Above=E2=
=80=9D we
  would use =E2=80=9CR bindings for Gtk 2.8.0 and above=E2=80=9D.  (I don=
=E2=80=99t know how to
  let the importer do the right thing automatically.)

* for r-cairodevice we might be able to run the tests after setting up
  an X server in a pre-check build phase.  We would need to add
  ("xorg-server" ,xorg-server) to the native inputs.  Here=E2=80=99s an exa=
mple
  for the phase taken from the caja package:

--8<---------------cut here---------------start------------->8---
       #:phases
       (modify-phases %standard-phases
         (add-before 'check 'pre-check
           (lambda _
             ;; Tests require a running X server.
             (system "Xvfb :1 &")
             (setenv "DISPLAY" ":1")
             ;; For the missing /etc/machine-id.
             (setenv "DBUS_FATAL_WARNINGS" "0")
             #t)))
--8<---------------cut here---------------end--------------->8---

* the description in r-cairodevice includes references to code: we
  would, for example, replace =E2=80=9Carbitrary GdkDrawable or Cairo conte=
xt=E2=80=9D
  with =E2=80=9Carbitrary @code{GdkDrawable} or @code{Cairo} context=E2=80=
=9D.  Same
  with =E2=80=9CRGtk2=E2=80=9D and =E2=80=9CgetGraphicsEvent()=E2=80=9D.

* I would replace the description of =E2=80=9Cr-gwidgets=E2=80=9D with this=
 text:

    "gWidgets provides a toolkit-independent API for building
     interactive GUIs.  At least one of the toolkit implementations for
     a specific GUI backend (such as @code{gWidgetsRGtk2}) should be
     installed."

* In r-gwidgetsrgtk2 we might be able to do without patching the
  DESCRIPTION and NAMESPACE files by adding a pre-check phase as shown
  above.  Is there another reason for patching this file?

* I would change the r-gwidgetsrgtk2 description to this (taken from the
  package documentation):

    =E2=80=9CThis package allows the gWidgets API to use the RGtk2 package
     allowing the use of the GTK libraries within R.=E2=80=9D

* r-igraph already exists in (gnu packages graph).

* r-rqda uses sources from a git checkout, which means that you could
  use git-specific helpers:

      (version (git-version "0.3-1" revision commit))
      =E2=80=A6
      (file-name (git-file-name name version))

  Note that the revision is just a Guix-internal number (as a string)
  starting at "1".

* r-nlp: the same applies as for other packages: please add it to
  cran.scm, use HTTPS and a trailing slash for the home-page field, use
  lower case for the synopsis, and expand the description to a complete
  sentence.

* r-tm looks fine to me.

To generate patches more easily you can create one local commit per
package and then use git format-patch -5 to create 5 patch files for the
last 5 commits.  We usually apply one patch per package.

--
Ricardo




Information forwarded to guix-patches@HIDDEN:
bug#32699; Package guix-patches. Full text available.

Message received at 32699 <at> debbugs.gnu.org:


Received: (at 32699) by debbugs.gnu.org; 12 Sep 2018 08:50:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 12 04:50:26 2018
Received: from localhost ([127.0.0.1]:37783 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g00qw-0001jE-Dj
	for submit <at> debbugs.gnu.org; Wed, 12 Sep 2018 04:50:26 -0400
Received: from mail.thebird.nl ([94.142.245.5]:46416)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pjotr2017@HIDDEN>) id 1g00qt-0001iw-9D
 for 32699 <at> debbugs.gnu.org; Wed, 12 Sep 2018 04:50:24 -0400
Received: by mail.thebird.nl (Postfix, from userid 1000)
 id 41B5892F9; Wed, 12 Sep 2018 10:50:16 +0200 (CEST)
Date: Wed, 12 Sep 2018 10:50:16 +0200
From: Pjotr Prins <pjotr.public12@HIDDEN>
To: 32699 <at> debbugs.gnu.org
Subject: Re: [bug#32699] Adding r-gtk2 and other packages for r-qda (RFC)
Message-ID: <20180912085016.m3bfwfyqxusaegyx@HIDDEN>
References: <20180911122320.eyg4rms4eh36dnzx@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="2gwyrrxyzqrqykpn"
Content-Disposition: inline
In-Reply-To: <20180911122320.eyg4rms4eh36dnzx@HIDDEN>
User-Agent: NeoMutt/20170113 (1.7.2)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 32699
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--2gwyrrxyzqrqykpn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Added another patch for text mining with R tm.

I would appreciate some feedback on the previous patch before I start
submitting.

Pj.


--2gwyrrxyzqrqykpn
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="tm.patch"

commit b9a90ec3a768b99e112fbfa76e511252fef78fdd
Author: Pjotr Prins <pjotr.public01@HIDDEN>
Date:   Tue Sep 11 14:36:38 2018 +0000

    added r-tm

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 1c913a5..4e9244b 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5900,3 +5900,48 @@ text, but it can import PDF highlights if package
 'rjpod' (<https://r-forge.r-project.org/projects/rqda/>) is
 installed.")
      (license license:bsd-3))))
+
+(define-public r-nlp
+  (package
+   (name "r-nlp")
+   (version "0.1-11")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "NLP" version))
+     (sha256
+      (base32
+       "15v50gxzmpqx49wzkwxfpb5xjpg9y829a0ifys372kf1cfj521aq"))))
+   (properties `((upstream-name . "NLP")))
+   (build-system r-build-system)
+   (home-page
+    "http://cran.r-project.org/web/packages/NLP")
+   (synopsis
+    "Natural Language Processing Infrastructure")
+   (description
+    "Basic classes and methods for Natural Language Processing.")
+   (license license:gpl3)))
+
+(define-public r-tm
+  (package
+   (name "r-tm")
+   (version "0.7-5")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "tm" version))
+     (sha256
+      (base32
+       "05x3kj6dxffcfyn42q2fw9bby5f4wdmslc3ww1dl0r09pz950cax"))))
+   (build-system r-build-system)
+   (propagated-inputs
+    `(("r-bh" ,r-bh)
+      ("r-nlp" ,r-nlp)
+      ("r-rcpp" ,r-rcpp)
+      ("r-slam" ,r-slam)
+      ("r-xml2" ,r-xml2)))
+   (home-page "http://tm.r-forge.r-project.org/")
+   (synopsis "Text Mining Package")
+   (description
+    "This package provides a framework for text mining applications within R.")
+   (license license:gpl3)))

--2gwyrrxyzqrqykpn--




Information forwarded to guix-patches@HIDDEN:
bug#32699; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Sep 2018 12:40:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 11 08:40:43 2018
Received: from localhost ([127.0.0.1]:36304 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fzhyA-0008Q9-QJ
	for submit <at> debbugs.gnu.org; Tue, 11 Sep 2018 08:40:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37423)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pjotr2017@HIDDEN>) id 1fzhy8-0008Pw-MQ
 for submit <at> debbugs.gnu.org; Tue, 11 Sep 2018 08:40:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pjotr2017@HIDDEN>) id 1fzhy1-0001Xw-Vu
 for submit <at> debbugs.gnu.org; Tue, 11 Sep 2018 08:40:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:53726)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <pjotr2017@HIDDEN>)
 id 1fzhy1-0001Xc-O1
 for submit <at> debbugs.gnu.org; Tue, 11 Sep 2018 08:40:29 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58036)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <pjotr2017@HIDDEN>) id 1fzhxu-0001Qi-Rq
 for guix-patches@HIDDEN; Tue, 11 Sep 2018 08:40:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pjotr2017@HIDDEN>) id 1fzhhY-0005xg-IH
 for guix-patches@HIDDEN; Tue, 11 Sep 2018 08:23:32 -0400
Received: from mail.thebird.nl ([94.142.245.5]:37354)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <pjotr2017@HIDDEN>)
 id 1fzhhW-0005tk-BQ
 for guix-patches@HIDDEN; Tue, 11 Sep 2018 08:23:26 -0400
Received: by mail.thebird.nl (Postfix, from userid 1000)
 id 1BD3E8EAC; Tue, 11 Sep 2018 14:23:20 +0200 (CEST)
Date: Tue, 11 Sep 2018 14:23:20 +0200
From: Pjotr Prins <pjotr.public12@HIDDEN>
To: guix-patches@HIDDEN
Subject: Adding r-gtk2 and other packages for r-qda (RFC)
Message-ID: <20180911122320.eyg4rms4eh36dnzx@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="pqwzgyb6twjomv2r"
Content-Disposition: inline
User-Agent: NeoMutt/20170113 (1.7.2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)


--pqwzgyb6twjomv2r
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Attached a bunch of packages I wrote for RQDA. This is a particular
useful package because it depends on GTK2.  guix import cran is pretty
awesome - it got most of it right :).

One or two hacks in there to disable X11 tests. Anyone any comments on
how to enable X11 instead of having X-headless? And is this good
enough to submit to Guix otherwise? 

Pj.

--pqwzgyb6twjomv2r
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="r-qda.patch"

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 04979ff..1c913a5 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5715,3 +5715,188 @@ Java package that provides routines for various statistical distributions.")
     ;; are under the GPLv3, which is a mistake.  The author confirmed in an
     ;; email that this whole project should be under GPLv2+.
     (license license:gpl2+)))
+
+(define-public r-rgtk2
+  (package
+   (name "r-rgtk2")
+   (version "2.20.35")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "RGtk2" version))
+     (sha256
+      (base32
+       "17nxxhkk9jvcwfajbhs5kyrx00lx1irggfbq3l2gp28dvb1cn6z9"))))
+   (properties `((upstream-name . "RGtk2")))
+   (build-system r-build-system)
+   (inputs
+    `(("atk" ,atk)
+      ("cairo" ,cairo)
+      ("glib" ,glib)
+      ("gtk+" ,gtk+-2)
+      ("pango" ,pango)))
+   (native-inputs `(("pkg-config" ,pkg-config)))
+   (home-page "http://www.ggobi.org/rgtk2")
+   (synopsis "R Bindings for Gtk 2.8.0 and Above")
+   (description
+    "Facilities in the R language for programming graphical interfaces
+using Gtk, the Gimp Tool Kit.")
+   (license (list license:gpl2+ license:gpl3+))))
+
+(define-public r-cairodevice
+  (package
+   (name "r-cairodevice")
+   (version "2.25")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "cairoDevice" version))
+     (sha256
+      (base32
+       "0qsg6niz6b67yiqp200mi894s615y2bp0vb2sc093l9x9bc2jvfj"))))
+   (properties `((upstream-name . "cairoDevice")))
+   (build-system r-build-system)
+   (inputs `(("cairo" ,cairo)
+             ("gtk+" ,gtk+-2)
+             ))
+   (native-inputs `(("pkg-config" ,pkg-config)))
+   (arguments
+    `(#:tests? #f ;; requires running X11
+      #:configure-flags (list "--no-build-vignettes" "--no-test-load")
+      ))
+   (home-page
+    "http://cran.r-project.org/web/packages/cairoDevice")
+   (synopsis
+    "Embeddable Cairo Graphics Device Driver")
+   (description
+    "This device uses Cairo and GTK to draw to the screen, file (png,
+svg, pdf, and ps) or memory (arbitrary GdkDrawable or Cairo context).
+The screen device may be embedded into RGtk2 interfaces and supports
+all interactive features of other graphics devices, including
+getGraphicsEvent().")
+   (license (list license:gpl2+ license:gpl3+))))
+
+(define-public r-gwidgets
+  (package
+   (name "r-gwidgets")
+   (version "0.0-54")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "gWidgets" version))
+     (sha256
+      (base32
+       "13lbbbnmkvb559klgsnz0q27qlyv102xakb6yccxsxjw249hm8c2"))))
+   (properties `((upstream-name . "gWidgets")))
+   (build-system r-build-system)
+   (home-page
+    "https://r-forge.r-project.org/R/?group_id=761")
+   (synopsis
+    "gWidgets API for building toolkit-independent, interactive GUIs")
+   (description
+    "gWidgets provides a toolkit-independent API for building
+interactive GUIs.  At least one of the 'gWidgetsXXX packages', such as
+gWidgetstcltk, needs to be installed.  Some icons are on loan from the
+scigraphica project http://scigraphica.sourceforge.net.")
+   (license license:gpl2+)))
+
+(define-public r-gwidgetsrgtk2
+  (package
+   (name "r-gwidgetsrgtk2")
+   (version "0.0-86")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "gWidgetsRGtk2" version))
+     (sha256
+      (base32
+       "0b1xqffbzxlaaaqf1vzfl0a7b6wnnslsp8v5fbxblv7w951rsc4m"))))
+   (properties `((upstream-name . "gWidgetsRGtk2")))
+   (build-system r-build-system)
+   (propagated-inputs
+    `(("r-cairodevice" ,r-cairodevice)
+      ("r-gwidgets" ,r-gwidgets)
+      ("r-rgtk2" ,r-rgtk2)))
+   (arguments
+    `(#:tests? #f ;; requires running X11
+      #:phases
+      (modify-phases %standard-phases
+                     ;; we patch out cairoDevice because it requires X11
+                     (add-before 'install 'patch-out-cairoDevice
+                                 (lambda _
+                                   (substitute* "DESCRIPTION"
+                                                ;; this got ignored by R (("LazyLoad: yes") "LazyLoad: no")
+                                                (("cairoDevice") "methods"))
+                                   (substitute* "NAMESPACE"
+                                                (("cairoDevice") "methods"))#t))
+                     (delete 'check))))
+   (home-page
+    "http://cran.r-project.org/web/packages/gWidgetsRGtk2")
+   (synopsis
+    "Toolkit Implementation of gWidgets for RGtk2")
+   (description
+    "Port of the gWidgets API to the RGtk2 toolkit.")
+   (license license:gpl2+)))
+
+(define-public r-igraph
+  (package
+   (name "r-igraph")
+   (version "1.2.2")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "igraph" version))
+     (sha256
+      (base32
+       "1bggm7b8v3bh7q2589w26qvd7sgs69m4qiij7d0rbm0ykkgxm8lx"))))
+   (build-system r-build-system)
+   (inputs
+    `(("glpk" ,glpk)
+      ("gmp" ,gmp)
+      ("libxml2" ,libxml2)
+      ("zlib" ,zlib)))
+   (propagated-inputs
+    `(("r-magrittr" ,r-magrittr)
+      ("r-matrix" ,r-matrix)
+      ("r-pkgconfig" ,r-pkgconfig)))
+   (native-inputs `(("gfortran" ,gfortran)))
+   (home-page "http://igraph.org")
+   (synopsis "Network Analysis and Visualization")
+   (description
+    "Routines for simple graphs and network analysis.  It can handle large graphs very well and provides functions for generating random and regular graphs, graph visualization, centrality methods and much more.")
+   (license license:gpl2+)))
+
+
+(define-public r-rqda
+  (let ((commit "3cd9abbbde590e1bf9c602b427ebd49e43b6b71a")
+        (revision "0.3-1"))
+    (package
+     (name "r-rqda")
+     (version (string-append "0-" revision "." (string-take commit 9)))
+     (source (origin
+              (method git-fetch) ;; git checkout because there are no recent releases
+              (uri (git-reference
+                    (url "https://github.com/Ronggui/RQDA.git")
+                    (commit commit)))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "1s8ibwikmkdhvl5i0simmdh7pqn7ql1vc9d2kxam9f0k56kdpkhb"))))
+     (properties `((upstream-name . "RQDA")))
+     (build-system r-build-system)
+     (propagated-inputs
+      `(("r-dbi" ,r-dbi)
+        ("r-gwidgets" ,r-gwidgets)
+        ("r-gwidgetsrgtk2" ,r-gwidgetsrgtk2)
+        ("r-igraph" ,r-igraph)
+        ("r-rgtk2" ,r-rgtk2)
+        ("r-rsqlite" ,r-rsqlite)))
+     (home-page "http://rqda.r-forge.r-project.org")
+     (synopsis "Qualitative Data Analysis")
+     (description
+      "Software for qualitative text analysis (Kuckartz, 2014,
+<doi:10.4135/9781446288719>).  Current version only supports plain
+text, but it can import PDF highlights if package
+'rjpod' (<https://r-forge.r-project.org/projects/rqda/>) is
+installed.")
+     (license license:bsd-3))))

--pqwzgyb6twjomv2r--




Acknowledgement sent to Pjotr Prins <pjotr.public12@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#32699; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 13 Sep 2018 17:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.