[R-pkg-devel] using optimx in a package

2016-10-16 Thread Glenn Schultz
All, I am using optimx in my package to fit the term structure of interest rates.   When I call the function from the package I get the following error: Error in optimx.check(par, optcfg$ufn, optcfg$ugr, optcfg$uhess, lower, : Cannot evaluate function at initial parameters Called from: optimx.c

Re: [R-pkg-devel] using optimx in a package

2016-10-16 Thread Dirk Eddelbuettel
On 16 October 2016 at 18:05, Glenn Schultz wrote: | All, | | I am using optimx in my package to fit the term structure of interest rates.   When I call the function from the package I get the following error: | | Error in optimx.check(par, optcfg$ufn, optcfg$ugr, optcfg$uhess, lower, : | Cannot