Describe the bug
It seems to me that fitting the model only works properly when the MASS packages is loaded in addition to chromunity (this is done in the tutorial btw. but it is weird nevertheless). When only loading chromunity and calling fit the function returns a NULL as the model. Only after loading MASS I get a proper model back. The reason for this probably is that glm.nb is not found and the tryCatch construct simply swallows the error. In my opinion this should not happen as MASS is also loaded by chromunity
To Reproduce
- do all the steps of the tutorial but do not load
MASS
- try to fit the model
- get
NULL as the model
- only after loading
MASS manually the model is fit properly
Expected behavior
fit should work out of the box
Describe the bug
It seems to me that fitting the model only works properly when the
MASSpackages is loaded in addition tochromunity(this is done in the tutorial btw. but it is weird nevertheless). When only loadingchromunityand callingfitthe function returns aNULLas the model. Only after loadingMASSI get a proper model back. The reason for this probably is thatglm.nbis not found and thetryCatchconstruct simply swallows the error. In my opinion this should not happen asMASSis also loaded bychromunityTo Reproduce
MASSNULLas the modelMASSmanually the model is fit properlyExpected behavior
fitshould work out of the box