guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: gnu: r-tgstat: Update to 2.3.24.


From: guix-commits
Subject: 06/06: gnu: r-tgstat: Update to 2.3.24.
Date: Wed, 12 Jul 2023 07:23:26 -0400 (EDT)

rekado pushed a commit to branch r-updates
in repository guix.

commit 8ad31af070ce8adafb58e2d96608c400129a16cb
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jul 12 13:16:00 2023 +0200

    gnu: r-tgstat: Update to 2.3.24.
    
    * gnu/packages/statistics.scm (r-tgstat): Remove this variable for the old
    development version...
    * gnu/packages/cran.scm (r-tgstat): ...and add this new variable with 
version
    2.3.24 from CRAN.
---
 gnu/packages/cran.scm       | 25 +++++++++++++++++++++++++
 gnu/packages/statistics.scm | 35 -----------------------------------
 2 files changed, 25 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 199bc69c03..b0f0dd1ff8 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3029,6 +3029,31 @@ dissimilarity analysis.  Most of its multivariate tools 
can be used for other
 data types as well.")
     (license license:gpl2+)))
 
+(define-public r-tgstat
+  (package
+    (name "r-tgstat")
+    (version "2.3.24")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "tgstat" version))
+              (sha256
+               (base32
+                "0czd3j7z30jgb03813s0jc0701ypnwpkkq7var6n6f6cj7sdvc0l"))))
+    (properties `((upstream-name . "tgstat")))
+    (build-system r-build-system)
+    (native-inputs (list r-knitr))
+    (home-page "https://cran.r-project.org/package=tgstat";)
+    (synopsis "High performance statistical utilities")
+    (description
+     "This package provides a collection of high performance utilities to
+compute distance, correlation, auto correlation, clustering and other tasks.
+Contains graph clustering algorithm described in \"MetaCell: analysis of
+single-cell RNA-seq data using K-nn graph partitions\" (Yael Baran, Akhiad
+Bercovich, Arnau Sebe-Pedros, Yaniv Lubling, Amir Giladi, Elad Chomsky, Zohar
+Meir, Michael Hoichman, Aviezer Lifshitz & Amos Tanay, 2019
+<doi:10.1186/s13059-019-1812-2>).")
+    (license license:gpl2)))
+
 (define-public r-tidyft
   (package
     (name "r-tidyft")
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index f28e60362c..07e5cf1dfc 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6383,41 +6383,6 @@ levels (including collapsing rare levels into other, 
\"anonymizing\", and
 manually \"recoding\").")
     (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)))
-         (file-name (string-append name "-" version "-checkout"))
-         (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
-       (list 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))))
-
 (define-public r-tgconfig
   (let ((changeset "1e02c7614713bd0866c46f0c679a058f8c6d627e")
         (revision "1"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]