guix-commits
[Top][All Lists]
Advanced

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

15/41: gnu: Add r-nnls.


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

rekado pushed a commit to branch master
in repository guix.

commit 00436e2cacec4a70e6e86a7663af754e2921c1e9
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 9 14:48:18 2019 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f768bcc..af8a4da 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9213,3 +9213,24 @@ maps} (SOMs).  Also interrogation of the maps and 
prediction using trained
 maps are supported.  The name of the package refers to Teuvo Kohonen, the
 inventor of the SOM.")
     (license license:gpl2+)))
+
+(define-public r-nnls
+  (package
+    (name "r-nnls")
+    (version "1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "nnls" version))
+       (sha256
+        (base32
+         "07vcrrxvswrvfiha6f3ikn640yg0m2b4yd9lkmim1g0jmsmpfp8f"))))
+    (build-system r-build-system)
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/web/packages/nnls";)
+    (synopsis "Lawson-Hanson algorithm for non-negative least squares")
+    (description
+     "This package provides an R interface to the Lawson-Hanson implementation
+of an algorithm for @dfn{non-negative least squares} (NNLS).  It also allows
+the combination of non-negative and non-positive constraints.")
+    (license license:gpl2+)))



reply via email to

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