diff --git a/dev-R/nloptr/Manifest b/dev-R/nloptr/Manifest new file mode 100644 index 0000000000..9c88420d56 --- /dev/null +++ b/dev-R/nloptr/Manifest @@ -0,0 +1 @@ +DIST nloptr_2.0.3.tar.gz 2219877 BLAKE2B 28504ebd4b94e8de8da0b7a86da87f4d2d3e40dfb7411d3662df48f529a3c6e5b0f03b2094ade747d0c914627456df336183c72e2670b0c10fab7389ce72f3c8 SHA512 08f8a6b7ddc20f7b75c567ee7e55abd47228c4fc8db254080dc7f4010311a92ad4c75ca9b593adbb4183308e4142fdc9ab80aed1b7fe5da3b7450a19624b98e6 diff --git a/dev-R/nloptr/metadata.xml b/dev-R/nloptr/metadata.xml new file mode 100644 index 0000000000..5a16e11e06 --- /dev/null +++ b/dev-R/nloptr/metadata.xml @@ -0,0 +1,17 @@ + + + + + me@r0bert.dev + Robert Greener + + Solve optimization problems using an R interface to NLopt. NLopt is a free/open-source library for nonlinear optimization, providing a common interface for a number of different free optimization routines available online as well as original implementations of various other algorithms. See https://nlopt.readthedocs.io/en/latest/NLopt_Algorithms/ for more information on the available algorithms. Building from included sources requires 'CMake'. On Linux and 'macOS', if a suitable system build of NLopt (2.7.0 or later) is found, it is used; otherwise, it is built from included sources via 'CMake'. On Windows, NLopt is obtained through 'rwinlib' for 'R leq 4.1.x' or grabbed from the 'Rtools42 toolchain' for 'R geq 4.2.0'. + + + Aymeric Stamm + aymeric.stamm@math.cnrs.fr + + https://github.com/astamm/nloptr/issues + astamm/nloptr + + diff --git a/dev-R/nloptr/nloptr-2.0.3.ebuild b/dev-R/nloptr/nloptr-2.0.3.ebuild new file mode 100644 index 0000000000..feb76ef4d8 --- /dev/null +++ b/dev-R/nloptr/nloptr-2.0.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION='R Interface to NLopt' +KEYWORDS="~amd64" +LICENSE='LGPL-3+' +RESTRICT="!test? ( test )" +IUSE="test" + +DEPEND=" + >=dev-R/testthat-3.0.0 + test? ( + dev-R/xml2 + ) +" + +SUGGESTED_PACKAGES=" + dev-R/covr + dev-R/knitr + dev-R/rmarkdown + >=dev-R/testthat-3.0.0 + dev-R/xml2 +" + +src_test() { + cd "${WORKDIR}/${P}/tests" || die + NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R +}