Closed skent259 closed 2 years ago
This could massively reduce the testing burden of the package, because of the reduced conditional logic required in each function. Separate tests for argument handling would be ideal.
Some improvements in #44
Some big items left to do
mismm.default()
smm.default()
predict.smm()
Major improvements in #58, closing for now
There is a lot of repeated code that is copied and pasted to start most functions. As the complexity of this package grows, I think it might be helpful to have a standard argument handing function, with some potential sub-functions.
This may not shorten the code (such checking is likely annoying to do in R), but it could make things more manageable in the future.