gnu: Add r-cobs.

* gnu/packages/cran.scm (r-cobs): New variable.
This commit is contained in:
Ricardo Wurmus 2019-03-12 22:20:38 +01:00
parent 5fde35b385
commit 5f673e2c1c
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 22 additions and 0 deletions

View File

@ -11048,3 +11048,25 @@ users of rARPACK are advised to switch to the RSpectra package.")
compositional data (e.g. portions of substances) and positive compositional data (e.g. portions of substances) and positive
numbers (e.g. concentrations).") numbers (e.g. concentrations).")
(license license:gpl2+))) (license license:gpl2+)))
(define-public r-cobs
(package
(name "r-cobs")
(version "1.3-3")
(source
(origin
(method url-fetch)
(uri (cran-uri "cobs" version))
(sha256
(base32
"1pqvz7czcchri4x79g78hbwyagb3bqzdqb047zkbdinyz067c7kb"))))
(build-system r-build-system)
(propagated-inputs
`(("r-quantreg" ,r-quantreg)
("r-sparsem" ,r-sparsem)))
(home-page "https://cran.r-project.org/web/packages/cobs")
(synopsis "Constrained B-Splines (sparse matrix based)")
(description
"This package provides qualitatively constrained (regression) smoothing
splines via linear programming and sparse matrices.")
(license license:gpl2+)))