guix-patches
[Top][All Lists]
Advanced

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

[bug#71649] [PATCH] gnu: Add r-fastglm.


From: Afkhami, Navid
Subject: [bug#71649] [PATCH] gnu: Add r-fastglm.
Date: Wed, 19 Jun 2024 12:20:32 +0000

* gnu/packages/cran.scm (r-fastglm): New variable.

Change-Id: I187c9579b1f8ff47e47d721d9684c16698066148
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 83f395a69e..c84e3c3687 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5273,6 +5273,30 @@ (define-public r-fastmap
 data structures in C++.")
     (license license:expat)))
 
+(define-public r-fastglm
+  (package
+    (name "r-fastglm")
+    (version "0.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "fastglm" version))
+       (sha256
+        (base32 "0283kgk81cxbii7ljmp1rzqg5mzkvf7cj7lflhhhkgj5ljqina2i"))))
+    (properties `((upstream-name . "fastglm")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-bh r-bigmemory r-rcpp r-rcppeigen))
+    (native-inputs (list r-knitr))
+    (home-page "https://cran.r-project.org/package=fastglm";)
+    (synopsis
+     "Fast and stable fitting of generalized linear models using 'RcppEigen'")
+    (description
+     "This package fits generalized linear models efficiently using 
@code{RcppEigen}'.
+The iteratively reweighted least squares implementation utilizes the
+step-halving approach of Marschner to help safeguard against convergence
+issues.")
+    (license license:gpl2+)))
+
 (define-public r-fastghquad
   (package
     (name "r-fastghquad")

base-commit: da1f3aff2ea9a98651ebc69c8385ba136fe2e325
prerequisite-patch-id: 01e990e85f2d1bd0c50ae32161d5ccf814a0ef7e
-- 
2.34.1






reply via email to

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