The output from stats::print.anova can overrun the text width specified by options('width'). To see it easily:
The overrun occurs in the last line, the explanatory legend for the
The legend is originally created by stats::symnum using paste(.... collapse=" ")
so that quite a long string may be created.
Admittedly I could just switch off the legend by setting signif.legend=FALSE, but I'm trying to show typical R output in a book, and the text width of the R output in the book is 50 characters, which is exceeded by anova.glm.
You are right, Adrian.
Note however that too small getOption("width") will ``break'' in many many other cases as well, e.g. the formulas in such (and other?) print() methods are also not split [it would look a bit ugly anyway, when comparing, say 4 different models].
I will commit a fix shortly however, as this case is so nicely centralized in the