From 8b1bee45f7fe37fd46e449910ff4ceb421e8ad87 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 24 Nov 2022 17:00:32 +0100 Subject: [PATCH] gnu: Add r-osqp. * gnu/packages/cran.scm (r-osqp): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 91e05373bb..88600988c4 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19251,6 +19251,28 @@ authoring books and technical documents with R Markdown.") that accept short and long options.") (license license:gpl2+))) +(define-public r-osqp + (package + (name "r-osqp") + (version "0.6.0.7") + (source (origin + (method url-fetch) + (uri (cran-uri "osqp" version)) + (sha256 + (base32 + "00w2hr0pagnvpsk84z99c7alhv7xvs9wpcmkzbcg3qs14g888rgf")))) + (properties `((upstream-name . "osqp"))) + (build-system r-build-system) + (propagated-inputs (list r-matrix r-r6 r-rcpp)) + (home-page "https://osqp.org") + (synopsis "Quadratic Programming Solver using the OSQP Library") + (description + "This package provides bindings to the OSQP solver. The OSQP +solver is a numerical optimization package or solving convex quadratic +programs written in C and based on the alternating direction method of +multipliers. See for details.") + (license (list license:asl2.0)))) + (define-public r-kernlab (package (name "r-kernlab")