summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-12-19 20:13:04 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-12-19 20:35:07 +0100
commitcb8b4c119645f1889ec342bed4394fac52e0b741 (patch)
treed51fd881d937547eff2f429aadece122100956da
parent02cdb45f345da30a04c384b6763e9f9dc6503801 (diff)
downloadguix-cb8b4c119645f1889ec342bed4394fac52e0b741.tar.gz
gnu: Add r-rsolnp.
* gnu/packages/cran.scm (r-rsolnp): New variable.
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index eafc489deb..851eca1079 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1464,6 +1464,29 @@ distribution with mean equal to @code{mean} and standard deviation equal to
 functions, as well as a random generation function.")
     (license license:gpl2)))
 
+(define-public r-rsolnp
+  (package
+    (name "r-rsolnp")
+    (version "1.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "Rsolnp" version))
+       (sha256
+        (base32
+         "0w7nkj6igr0gi7r7jg950lsx7dj6aipgxi6vbjsf5f5yc9h7fhii"))))
+    (properties `((upstream-name . "Rsolnp")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-truncnorm" ,r-truncnorm)))
+    (home-page "http://cran.r-project.org/web/packages/Rsolnp/")
+    (synopsis "General non-linear optimization")
+    (description "The Rsolnp package implements a general non-linear augmented
+Lagrange multiplier method solver, a @dfn{sequential quadratic
+programming} (SQP) based solver).")
+    ;; Any version of the GPL.
+    (license license:gpl2+)))
+
 (define-public r-hardyweinberg
   (package
     (name "r-hardyweinberg")