-
Notifications
You must be signed in to change notification settings - Fork 3
Fixed unhelpful error message when optim.method is wrong #2
base: master
Are you sure you want to change the base?
Conversation
give error, the code still attempted to handle full-length return vector 'olist'.
…matrix(runif(n * param.n), nrow = param.n, ncol = n) : non-numeric matrix extent. methods are handled in lower case now internally
|
Hi Ott, I will try to incluse that soon. I also forward to Olivier for his next Best Yann
|
If
!(optim.method %in% c("BFGS", "gen")R responded byError in matrix(runif(n * param.n), nrow = param.n, ncol = n) : non-numeric matrix extent. methods are handled in lower case now internallyI changed it in the following way:
The reasons for these changes are the following:
I agree that the choice to use lower case letters internally can be discussed, and I am happy to do that. Are you the right person for this? Or should I talk to Olivier (CRAN maintainer?) I would be happy to contribute more in polishing the package, but that would mean many decisions to be discussed with the maintainers.
Cheers,
Ott
PS: I had issues with git merging, so I am afraid all the former changes are included here as well.