guix-commits
[Top][All Lists]
Advanced

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

04/41: gnu: Add r-flare.


From: guix-commits
Subject: 04/41: gnu: Add r-flare.
Date: Wed, 9 Jan 2019 09:44:52 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 3d62d98e694732fbeba3f17e7586f47e23c847bd
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 9 14:12:39 2019 +0100

    gnu: Add r-flare.
    
    * gnu/packages/cran.scm (r-flare): New variable.
---
 gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1839ead..f73adb6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -44,6 +44,7 @@
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages graph)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages haskell)
   #:use-module (gnu packages image)
@@ -8949,3 +8950,28 @@ prior.  The algorithm is solved on a path, with 
coordinate updates, and is
 capable of generating very sparse models.  Very general model
 diagnostics for controlling type-1 errors are also provided.")
     (license license:gpl2)))
+
+(define-public r-flare
+  (package
+    (name "r-flare")
+    (version "1.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "flare" version))
+       (sha256
+        (base32
+         "0ygif9a7a99qwv0b488wymmmncp6f5ww9yz13s4qs6p8yf37x1r1"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-igraph" ,r-igraph)
+       ("r-lattice" ,r-lattice)
+       ("r-mass" ,r-mass)
+       ("r-matrix" ,r-matrix)))
+    (home-page "https://cran.r-project.org/web/packages/flare";)
+    (synopsis "Family of Lasso regression implementations")
+    (description
+     "This packages provides implementations of a family of Lasso variants
+including Dantzig Selector, LAD Lasso, SQRT Lasso, Lq Lasso for estimating
+high dimensional sparse linear models.")
+    (license license:gpl2)))



reply via email to

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