mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add r-nnls.
* gnu/packages/cran.scm (r-nnls): New variable.
This commit is contained in:
parent
2871b670a8
commit
00436e2cac
1 changed files with 21 additions and 0 deletions
|
@ -9213,3 +9213,24 @@ (define-public r-kohonen
|
|||
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+)))
|
||||
|
|
Loading…
Reference in a new issue