From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raoul Bonnal Subject: [PATCH 26/35] gnu: Add r-nloptr. Date: Thu, 19 Jan 2017 19:55:21 +0100 Message-ID: <20170119185530.35824-26-ilpuccio.febo@gmail.com> References: <20170119185530.35824-1-ilpuccio.febo@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUHsp-0006Ar-9l for guix-devel@gnu.org; Thu, 19 Jan 2017 13:56:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUHsn-0004lc-PO for guix-devel@gnu.org; Thu, 19 Jan 2017 13:56:27 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:33269) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUHsn-0004l0-JC for guix-devel@gnu.org; Thu, 19 Jan 2017 13:56:25 -0500 Received: by mail-wm0-x242.google.com with SMTP id r144so1087222wme.0 for ; Thu, 19 Jan 2017 10:56:25 -0800 (PST) In-Reply-To: <20170119185530.35824-1-ilpuccio.febo@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org From: Raoul Jean Pierre Bonnal * 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