Skip to content
Prev 19328 / 20628 Next

Purpose of .nloptr object?

This seems to be the docs getting slightly out of date in some sections
(as happens with any big piece of software). The actual nloptwrap
function in lme4 (now the default optimizer, IIRC) doesn't include that:

https://github.com/lme4/lme4/blob/c3d0c643d444785fad5e554380c028706f14e274/R/utilities.R#L1151-L1169

A wild guess on my part (until Ben Bolker has a few): that code was
there to debug writing a wrapper / show how you can further examine the
return value from nloptr to get more information and got left in, even
once the further debugging/examination was removed from the example.


Phillip
On 08/06/2021 14:19, Michael Chirico via R-sig-mixed-models wrote: