From 5f673e2c1c6d0af1475f97dca087c6ccb2dd4d4f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 12 Mar 2019 22:20:38 +0100 Subject: gnu: Add r-cobs. * gnu/packages/cran.scm (r-cobs): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu') 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+))) -- cgit v1.2.3