Bug 16719: kruskal.test documentation for formula
I submit a couple options for addressing bug 16719: kruskal.test documentation for formula. https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16719 disallow-character.diff changes the documentation and error message to indicate that factors are accepted. allow-character.diff changes the kruskal.test functions to convert character vectors to factors; documentation is updated accordingly. I tested the updated functions with the examples in example.R. It is based on the examples in the bug report. If there is interest in applying either patch, especially the latter, I want first to test the change on lots of existing programs that call kruskal.test, to see if it causes any regressions. Is there a good place to look for programs that use particular R functions? I am having trouble building R, so I have so far tested these changes only by patching revision 74631 (SVN head) and sourcing the resulting kruskal.test.R in R 3.4.1 on OpenBSD 6.2. I thus have not tested the R documentation files. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disallow-character.diff URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20180423/4f5c65b0/attachment.ksh> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: allow-character.diff URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20180423/4f5c65b0/attachment-0001.ksh> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: example.R URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20180423/4f5c65b0/attachment-0002.ksh>