unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71649] [PATCH] gnu: Add r-fastglm.
@ 2024-06-19 12:20 Afkhami, Navid
  0 siblings, 0 replies; only message in thread
From: Afkhami, Navid @ 2024-06-19 12:20 UTC (permalink / raw)
  To: 71649; +Cc: Afkhami, Navid

* 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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-19 12:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-19 12:20 [bug#71649] [PATCH] gnu: Add r-fastglm Afkhami, Navid

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).