[R-SIG-Win] The status of NLOPTR given NLOPT's use of non-API entry points

Avraham Adler @vr@h@m@@d|er @end|ng |rom gm@||@com
Thu Mar 27 03:12:53 CET 2025


Hello, Tomas.

At nloptr, we are struggling with the recent upgrading of non-API
points from NOTES to ERRORs, given that the upstream NLOPT library
uses various calls not allowed within R; please see [1]. Reading WRE,
the only option we see is to manually adjust the NLOPT source code to
use acceptable calls and then have those built into the various
toolsets or test servers.

You have much more experience with this than we do. Moreover, you are
the maintainer of Rtools. Are we correct in thinking we need to
replace every "exit" or stderr call with something R-acceptable and
then use that as the source for the toolchains, or is there another
(hopefully less onerous) option?

For that matter, should this really be discussed on R-pkg-devel first?

Thank you very much,

Avi

[1] https://github.com/astamm/nloptr/issues/198



More information about the R-SIG-windows mailing list