Similar in spirit to what is suggested in the writing APIs in R, it would be good if the model returned an informative error message if lpSolve doesn't work.
Currently lpSolve will return an error in the print method, like "model build failed ... < msg >".
maxcovr should parse this error and turn it into an R error and return a useful object to the end user.
Similar in spirit to what is suggested in the writing APIs in R, it would be good if the model returned an informative error message if lpSolve doesn't work.
Currently lpSolve will return an error in the print method, like "model build failed ... < msg >".
maxcovr should parse this error and turn it into an R error and return a useful object to the end user.