From: Raoul Jean Pierre Bonnal <[email protected]>
* gnu/packages/statistics.scm (r-nloptr): New variable.
---
gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index e602e55..300a57a 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4610,3 +4610,26 @@ decompositions of such matrices, and solutions of linear
systems.")
"This package provides a derivative-free optimization by quadratic
approximation
based on an interface to Fortran implementations by M. J. D. Powell.")
(license license:gpl2)))
+
+(define-public r-nloptr
+ (package
+ (name "r-nloptr")
+ (version "1.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "nloptr" version))
+ (sha256
+ (base32
+ "1cypz91z28vhvwq2rzqjrbdc6a2lvfr2g16vid2sax618q6ai089"))))
+ (build-system r-build-system)
+ (native-inputs
+ `(("nlopt", nlopt)
+ ("pkg-config" ,pkg-config)))
+ (propagated-inputs
+ `(("nlopt" ,nlopt)))
+ (home-page "http://cran.r-project.org/web/packages/nloptr")
+ (synopsis "R interface to NLopt")
+ (description
+ "This package is interface to NLopt, a library for nonlinear
optimization")
+ (license license:lgpl3)))
--
1.9.1