GNU bug report logs -
#28986
[PATCH] gnu: Add r-tgstat.
Previous Next
Reported by: Ricardo Wurmus <rekado <at> elephly.net>
Date: Wed, 25 Oct 2017 03:48:02 UTC
Severity: normal
Tags: patch
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28986 in the body.
You can then email your comments to 28986 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#28986
; Package
guix-patches
.
(Wed, 25 Oct 2017 03:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 25 Oct 2017 03:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28986
; Package
guix-patches
.
(Thu, 26 Oct 2017 05:14:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 28986 <at> debbugs.gnu.org (full text, mbox):
Hi,
Ricardo Wurmus <rekado <at> elephly.net> 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’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28986
; Package
guix-patches
.
(Thu, 26 Oct 2017 11:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 28986 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hi,
>
> Ricardo Wurmus <rekado <at> elephly.net> 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…
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Mon, 30 Oct 2017 23:00:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
bug acknowledged by developer.
(Mon, 30 Oct 2017 23:00:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 28986-done <at> debbugs.gnu.org (full text, mbox):
Ricardo Wurmus <rekado <at> elephly.net> writes:
> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Hi,
>>
>> Ricardo Wurmus <rekado <at> elephly.net> 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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 28 Nov 2017 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.