A new version of the nloptr package has been released!
This release fixes a breaking bug which affects nloptr and its reverse dependencies and brings some minor tweaks and corrections along the way:
- Minimal patch for build against nlopt
2.9.x
(#176, @jaganmn): specifically, the issues were that (i) nlopt versions2.9.x
had one less algorithm in theenum
list, namelyNLOPT_LD_LBFGS_NOCEDAL
was removed in these versions and put back in2.10
and (ii) we were usinginst/include
in which we copied nlopt headers conditionally to build the package (e.g. listing it inPKG_CPPFLAGS
) resulting in possible version conflicts. - Fix the 2 failed tests by adding one more termination criterion.
- Update GHA workflows to latest versions.
- Fix reverse
LinkingTo
dependencies by (i) unconditionally copying headers toinst/include
and (ii) fixingcmake
path search (#179, @astamm). - Fix for newly broken kergp package due to wrong usage of
if
statement insidepaste()
which works differently than when used insidec()
(#180, @astamm). - Update artifact action to
v4
(#174, @eddelbuettel). - Correcting some of the unit tests in
test-banana
(#167, @aadler). - Correcting some of the unit tests in
test-global-wrapper
(#166, @aadler). - Update the code in
nloptr.c
for compatibility with theR
API, efficiency, and formatting (#169, @aadler). - Bugfix:
ranseed
expects an unsigned long but was passed as an integer, thus reducing the range of random seeds. It is now passed as a double and converted to a long (#169, @aadler). - Since
v2.1.1
: Fix the issue One of the unit tests for theisres()
algorithm was failing on some CRAN builds because convergence is stochastic with slightly different results even with the same fixed seed prior to calling the function.