Feature
In situations when we call augment() on an ANOVA model, a warning prints out to explain that augment() is not maintained by {broom}. But the message prints out everytime that augment() is called on an ANOVA model, even if the warning message has previously been shown. Would it be possible to ensure that the warning message for a given class of model is shown at most one time in a given R session
packageVersion("broom")
[1] ‘0.8.0’
library("broom")
a <- rnorm(10)
b <- rep(c("x", "y"), each = 5)
m <- aov(a ~ b)
augment(m)
# A tibble: 10 × 8
< ... snip ...>
Warning message:
The `augment()` method for objects of class aov is not maintained by the broom team, and is only supported through the lm tidier method. Please be cautious in interpreting and reporting broom output.
augment(m)
# A tibble: 10 × 8
<... snip ...>
Warning message:
The `augment()` method for objects of class aov is not maintained by the broom team, and is only supported through the lm tidier method. Please be cautious in interpreting and reporting broom output.
# Could that second message be hidden, since it has already been printed out.
Feature
In situations when we call augment() on an ANOVA model, a warning prints out to explain that
augment()is not maintained by {broom}. But the message prints out everytime that augment() is called on an ANOVA model, even if the warning message has previously been shown. Would it be possible to ensure that the warning message for a given class of model is shown at most one time in a given R session