diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-03-12 22:20:38 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-03-12 22:47:56 +0100 |
commit | 5f673e2c1c6d0af1475f97dca087c6ccb2dd4d4f (patch) | |
tree | fd112427a3ff5e5fb27c8c226bee3c2388637ee2 | |
parent | 5fde35b3859b23b2063750bcb569efdb63c2ac52 (diff) | |
download | guix-5f673e2c1c6d0af1475f97dca087c6ccb2dd4d4f.tar guix-5f673e2c1c6d0af1475f97dca087c6ccb2dd4d4f.tar.gz |
gnu: Add r-cobs.
* gnu/packages/cran.scm (r-cobs): New variable.
-rw-r--r-- | gnu/packages/cran.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 07a6da3c01..85b75dead7 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -11048,3 +11048,25 @@ users of rARPACK are advised to switch to the RSpectra package.") compositional data (e.g. portions of substances) and positive numbers (e.g. concentrations).") (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+))) |