You would think it would be an option in chisq.test, but no
This is all it has to be, but the function isn't just... built in???
@petra Hmm that is kind of weird, it should be there.
If there were a couple other functions that would make sense to go along with it, it might make sense to make a small package with it... I might have a couple functions that would make sense to split off a project I'm doing now that it might fit with...
@gzt There might be other chi-squared tests for contingency tables that you could implement, but I suspect it would still be too small to justify a package
I have now had the installation of two packages with such functions have "non-zero exit status", because one of their 20 different dependencies wont install