From unknown Mon Aug 18 11:32:40 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28986] [PATCH] gnu: Add r-tgstat. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Oct 2017 03:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28986 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 28986@debbugs.gnu.org Cc: Ricardo Wurmus X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150890327520329 (code B ref -1); Wed, 25 Oct 2017 03:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Oct 2017 03:47:55 +0000 Received: from localhost ([127.0.0.1]:60551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7Cfa-0005Hp-L0 for submit@debbugs.gnu.org; Tue, 24 Oct 2017 23:47:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7CfZ-0005HY-4b for submit@debbugs.gnu.org; Tue, 24 Oct 2017 23:47:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7CfT-00033B-7P for submit@debbugs.gnu.org; Tue, 24 Oct 2017 23:47:48 -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.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7CfT-00032z-49 for submit@debbugs.gnu.org; Tue, 24 Oct 2017 23:47:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7CfR-0000tG-Oc for guix-patches@gnu.org; Tue, 24 Oct 2017 23:47:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7CfO-0002zu-KB for guix-patches@gnu.org; Tue, 24 Oct 2017 23:47:45 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21007) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7CfO-0002yF-9G for guix-patches@gnu.org; Tue, 24 Oct 2017 23:47:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1508673373; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Subject:Date:Message-Id; l=1845; bh=LT3g1HdWn3nG53FvrIvvlW6m9WL3X3DqNLP9C4cSOTs=; b=MhKV68AyGYPQOZhYLtEg0fRstGNLGNU310pDVhW9N1Ca1o6k5Yd81XT2K3cznz62 j0+Khz2u0G5L3gbuIwTsZOMUUqRNtv3J5g3GOO6jEQ2tHeFOQHM/v8cWtwvn0gqDzCi FFlWEyU0/78Eb4S41zBEr/iAwvGY4PFyQhDtVdHk= Received: from localhost (port-92-200-48-141.dynamic.qsc.de [92.200.48.141]) by mx.zohomail.com with SMTPS id 1508673373009709.2412999463031; Sun, 22 Oct 2017 04:56:13 -0700 (PDT) From: Ricardo Wurmus Date: Sun, 22 Oct 2017 13:56:07 +0200 Message-Id: <20171022115607.622-1-rekado@elephly.net> X-Mailer: git-send-email 2.14.1 X-ZohoMailClient: External X-ZohoMail: Z_26063301 SPT_1 Z_26062608 SPT_0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) * gnu/packages/statistics.scm (r-tgstat): New variable. --- gnu/packages/statistics.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index b3ebd5abb..6c8f7b5fa 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -27,6 +27,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix hg-download) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system r) @@ -5442,3 +5443,37 @@ the least concave majorant (LCM), for the half-normal and correlation distributions, and for computing empirical higher criticism (HC) scores and the corresponding decision threshold.") (license license:gpl3+))) + +(define-public r-tgstat + (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f") + (revision "1")) + (package + (name "r-tgstat") + (version (string-append "1.0.2-" revision "." (string-take changeset 7))) + (source + (origin + (method hg-fetch) + (uri (hg-reference + (url "https://bitbucket.org/tanaylab/tgstat") + (changeset changeset))) + (sha256 + (base32 + "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn")))) + (build-system r-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-isnan + (lambda _ + (substitute* "src/tgstat.h" + (("#define isnan ::isnan") + "#define isnan std::isnan")) + #t))))) + (propagated-inputs + `(("r-rcpp" ,r-rcpp))) + (home-page "https://bitbucket.org/tanaylab/tgstat/") + (synopsis "Tanay's group statistical utilities") + (description + "The goal of tgstat is to provide fast and efficient statistical +tools.") + (license license:gpl2)))) -- 2.14.1 From unknown Mon Aug 18 11:32:40 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28986] [PATCH] gnu: Add r-tgstat. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Oct 2017 05:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28986 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ricardo Wurmus Cc: 28986@debbugs.gnu.org Received: via spool by 28986-submit@debbugs.gnu.org id=B28986.15089948357181 (code B ref 28986); Thu, 26 Oct 2017 05:14:02 +0000 Received: (at 28986) by debbugs.gnu.org; 26 Oct 2017 05:13:55 +0000 Received: from localhost ([127.0.0.1]:33864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7aUM-0001rl-Sj for submit@debbugs.gnu.org; Thu, 26 Oct 2017 01:13:55 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:51328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7aUL-0001rd-1h for 28986@debbugs.gnu.org; Thu, 26 Oct 2017 01:13:53 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DE761E993; Thu, 26 Oct 2017 07:13:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EpYg07FZaZwI; Thu, 26 Oct 2017 07:13:52 +0200 (CEST) Received: from ribbon (node-1w7jr9qot7winqrne9k8b99d1.ipv6.telus.net [IPv6:2001:569:7803:2c00:728:f466:18ad:22a5]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 40F99DB0B; Thu, 26 Oct 2017 07:13:52 +0200 (CEST) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20171022115607.622-1-rekado@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Brumaire an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 25 Oct 2017 22:13:48 -0700 In-Reply-To: <20171022115607.622-1-rekado@elephly.net> (Ricardo Wurmus's message of "Sun, 22 Oct 2017 13:56:07 +0200") Message-ID: <87she6ij8z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi, Ricardo Wurmus skribis: > * gnu/packages/statistics.scm (r-tgstat): New variable. [...] > + (home-page "https://bitbucket.org/tanaylab/tgstat/") > + (synopsis "Tanay's group statistical utilities") > + (description > + "The goal of tgstat is to provide fast and efficient statistical > +tools.") It would be nice to elaborate, but otherwise LGTM. Thanks, Ludo=E2=80=99. From unknown Mon Aug 18 11:32:40 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28986] [PATCH] gnu: Add r-tgstat. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Oct 2017 11:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28986 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28986@debbugs.gnu.org Received: via spool by 28986-submit@debbugs.gnu.org id=B28986.150901818517961 (code B ref 28986); Thu, 26 Oct 2017 11:44:01 +0000 Received: (at 28986) by debbugs.gnu.org; 26 Oct 2017 11:43:05 +0000 Received: from localhost ([127.0.0.1]:34025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7gYz-0004fd-BG for submit@debbugs.gnu.org; Thu, 26 Oct 2017 07:43:05 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7gYx-0004fV-T5 for 28986@debbugs.gnu.org; Thu, 26 Oct 2017 07:43:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1509004569; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; l=757; bh=TPu+bwfsJcD0CRmq0v49xJ8Q293JRcXk0Njy+zzKpvM=; b=BZgn543MpESNgfzDk1ej7lOAhhdGynT+BKAG80VkpnwTBAVOkq0AzBk1vE+l0k7K 3ZOKMYHtf9ibLbqG1Rg3nHaKHcQxp0tko3YkO79eMEJWjtQ81wVaHfxJl9HSA5EFdYP QZopPHoNpebTUlAndAPRAEScYkor0y/EyHqEU3+Q= Received: from localhost (port-92-200-82-198.dynamic.qsc.de [92.200.82.198]) by mx.zohomail.com with SMTPS id 1509004569621282.67017872368217; Thu, 26 Oct 2017 00:56:09 -0700 (PDT) References: <20171022115607.622-1-rekado@elephly.net> <87she6ij8z.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.3.1 From: Ricardo Wurmus In-reply-to: <87she6ij8z.fsf@gnu.org> 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, 26 Oct 2017 09:56:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <87lgjymjft.fsf@elephly.net> X-ZohoMailClient: External X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) Ludovic Court=C3=A8s writes: > Hi, > > Ricardo Wurmus skribis: > >> * gnu/packages/statistics.scm (r-tgstat): New variable. > > [...] > >> + (home-page "https://bitbucket.org/tanaylab/tgstat/") >> + (synopsis "Tanay's group statistical utilities") >> + (description >> + "The goal of tgstat is to provide fast and efficient statistical >> +tools.") > > It would be nice to elaborate, but otherwise LGTM. Yes, I agree. Like many R packages this is just a bunch of unrelated functions that are generic enough to get their own package. Having so many of these packages is a cultural problem in R=E2=80=A6 -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From unknown Mon Aug 18 11:32:40 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#28986: closed (Re: [bug#28986] [PATCH] gnu: Add r-tgstat.) Message-ID: References: <87efpklwjf.fsf@elephly.net> <20171022115607.622-1-rekado@elephly.net> X-Gnu-PR-Message: they-closed 28986 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 28986@debbugs.gnu.org Date: Mon, 30 Oct 2017 23:00:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1509404402-18104-1" This is a multi-part message in MIME format... ------------=_1509404402-18104-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28986: [PATCH] gnu: Add r-tgstat. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28986@debbugs.gnu.org. --=20 28986: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28986 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1509404402-18104-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28986-done) by debbugs.gnu.org; 30 Oct 2017 22:59:50 +0000 Received: from localhost ([127.0.0.1]:42867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9J26-0004hE-2j for submit@debbugs.gnu.org; Mon, 30 Oct 2017 18:59:50 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9J23-0004h2-CL for 28986-done@debbugs.gnu.org; Mon, 30 Oct 2017 18:59:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1509361926; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=857; bh=7/yjTc2mxHEgvEUyYq7NWRV2a3gO2ckZ4HQXY86Nyj8=; b=NQGScRxKnu5iLL/RUJUVKEAaUp3Ezt5nO1QwtYlh2J7PvQe7oKHibxN1VCvcGPtg tyj0W5VAKT2pgDaNTtqJO0V2mBSFzXh/Z2+4Mt/fcXr4U1kWGcwC16neRLqP0zhdFVZ ML7Z3qQPHVyYdyGzgskVzs2PmoF+KvF5mmSyNHRE= Received: from localhost (141.80.247.119 [141.80.247.119]) by mx.zohomail.com with SMTPS id 1509361926801709.5910103770437; Mon, 30 Oct 2017 04:12:06 -0700 (PDT) References: <20171022115607.622-1-rekado@elephly.net> <87she6ij8z.fsf@gnu.org> <87lgjymjft.fsf@elephly.net> User-agent: mu4e 0.9.18; emacs 25.3.1 From: Ricardo Wurmus To: 28986-done@debbugs.gnu.org Subject: Re: [bug#28986] [PATCH] gnu: Add r-tgstat. In-reply-to: <87lgjymjft.fsf@elephly.net> 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: Mon, 30 Oct 2017 12:12:04 +0100 Message-ID: <87efpklwjf.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 28986-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) Ricardo Wurmus writes: > Ludovic Courtès writes: > >> Hi, >> >> Ricardo Wurmus skribis: >> >>> * gnu/packages/statistics.scm (r-tgstat): New variable. >> >> [...] >> >>> + (home-page "https://bitbucket.org/tanaylab/tgstat/") >>> + (synopsis "Tanay's group statistical utilities") >>> + (description >>> + "The goal of tgstat is to provide fast and efficient statistical >>> +tools.") >> >> It would be nice to elaborate, but otherwise LGTM. > > Yes, I agree. Like many R packages this is just a bunch of unrelated > functions that are generic enough to get their own package. Having so > many of these packages is a cultural problem in R… I pushed it to master as is. Closing. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net ------------=_1509404402-18104-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Oct 2017 03:47:55 +0000 Received: from localhost ([127.0.0.1]:60551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7Cfa-0005Hp-L0 for submit@debbugs.gnu.org; Tue, 24 Oct 2017 23:47:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7CfZ-0005HY-4b for submit@debbugs.gnu.org; Tue, 24 Oct 2017 23:47:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7CfT-00033B-7P for submit@debbugs.gnu.org; Tue, 24 Oct 2017 23:47:48 -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.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7CfT-00032z-49 for submit@debbugs.gnu.org; Tue, 24 Oct 2017 23:47:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7CfR-0000tG-Oc for guix-patches@gnu.org; Tue, 24 Oct 2017 23:47:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7CfO-0002zu-KB for guix-patches@gnu.org; Tue, 24 Oct 2017 23:47:45 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21007) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7CfO-0002yF-9G for guix-patches@gnu.org; Tue, 24 Oct 2017 23:47:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1508673373; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Subject:Date:Message-Id; l=1845; bh=LT3g1HdWn3nG53FvrIvvlW6m9WL3X3DqNLP9C4cSOTs=; b=MhKV68AyGYPQOZhYLtEg0fRstGNLGNU310pDVhW9N1Ca1o6k5Yd81XT2K3cznz62 j0+Khz2u0G5L3gbuIwTsZOMUUqRNtv3J5g3GOO6jEQ2tHeFOQHM/v8cWtwvn0gqDzCi FFlWEyU0/78Eb4S41zBEr/iAwvGY4PFyQhDtVdHk= Received: from localhost (port-92-200-48-141.dynamic.qsc.de [92.200.48.141]) by mx.zohomail.com with SMTPS id 1508673373009709.2412999463031; Sun, 22 Oct 2017 04:56:13 -0700 (PDT) From: Ricardo Wurmus To: guix-patches@gnu.org Subject: [PATCH] gnu: Add r-tgstat. Date: Sun, 22 Oct 2017 13:56:07 +0200 Message-Id: <20171022115607.622-1-rekado@elephly.net> X-Mailer: git-send-email 2.14.1 X-ZohoMailClient: External X-ZohoMail: Z_26063301 SPT_1 Z_26062608 SPT_0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) * gnu/packages/statistics.scm (r-tgstat): New variable. --- gnu/packages/statistics.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index b3ebd5abb..6c8f7b5fa 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -27,6 +27,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix hg-download) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system r) @@ -5442,3 +5443,37 @@ the least concave majorant (LCM), for the half-normal and correlation distributions, and for computing empirical higher criticism (HC) scores and the corresponding decision threshold.") (license license:gpl3+))) + +(define-public r-tgstat + (let ((changeset "4f8e60c03598f49aff6f5beeab40f2b995377e9f") + (revision "1")) + (package + (name "r-tgstat") + (version (string-append "1.0.2-" revision "." (string-take changeset 7))) + (source + (origin + (method hg-fetch) + (uri (hg-reference + (url "https://bitbucket.org/tanaylab/tgstat") + (changeset changeset))) + (sha256 + (base32 + "0ilkkyximy77zbncm91kdfqbxf0qyndg16pd3q3p6a3xc9qcmxvn")))) + (build-system r-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-isnan + (lambda _ + (substitute* "src/tgstat.h" + (("#define isnan ::isnan") + "#define isnan std::isnan")) + #t))))) + (propagated-inputs + `(("r-rcpp" ,r-rcpp))) + (home-page "https://bitbucket.org/tanaylab/tgstat/") + (synopsis "Tanay's group statistical utilities") + (description + "The goal of tgstat is to provide fast and efficient statistical +tools.") + (license license:gpl2)))) -- 2.14.1 ------------=_1509404402-18104-1--