Lately (last few weeks, beginning of 2021: not sure when it first started) messages from dplyr operations are not being supressed by "message=FALSE" in the code block headers. Interestingly, a very simple reprex didn't replicate the problem so it's about something I'm doing regularly using Rstudio to knit Rmarkdown to html on my machine but not something I can replicate on the same set up with a clean Rmarkdown file, tidyverse and pander loaded. Clearly I can go on loading things until perhaps I recreate it in the reprex but I haven't time to do that now so I'll do two things:
- Try to see in my own work any things that are associated with it happening. I have tried and can't so far.
- Post this here to see if anyone else is seeing it and has more ideas.
Here is an example of the output.
Gender effect
This is a simple between participant effect in both occasion1 and occasion2.
Breakdown of scores by gender for both occasions.
summarise() has grouped output by ‘occasion’. You can override using the .groups argument.
| occasion |
gender |
n |
minScore |
LCL |
obsMean |
UCL |
SDScore |
maxScore |
| t1 |
F |
506 |
-4.6 |
0.56 |
0.71 |
0.86 |
1.7 |
6 |
| t1 |
M |
494 |
-5.4 |
-0.029 |
0.13 |
0.28 |
1.7 |
4.2 |
| t2 |
F |
506 |
-5.6 |
0.94 |
1.2 |
1.4 |
2.4 |
8.7 |
| t2 |
M |
494 |
-8.4 |
0.3 |
0.52 |
0.73 |
2.4 |
7 |
Adding missing grouping variables: occasion
| occasion |
meanDiff |
LCLDiff |
UCLDiff |
obsG |
LCLG |
UCLG |
| t1 |
-0.58 |
-0.82 |
-0.36 |
-0.34 |
-0.46 |
-0.21 |
| t2 |
-0.64 |
-0.94 |
-0.36 |
-0.27 |
-0.39 |
-0.15 |
That is from Rstudio 1.4.1103 on up to date Ubuntu 20.04 with R version information:
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 0.3
year 2020
month 10
day 10
svn rev 79318
language R
version.string R version 4.0.3 (2020-10-10)
nickname Bunny-Wunnies Freak Out
and these packages:
> subset(data.frame(sessioninfo::package_info()), attached==TRUE, c(package, loadedversion))
package loadedversion
boot boot 1.3-26
dplyr dplyr 1.0.3
forcats forcats 0.5.1
ggplot2 ggplot2 3.3.3
janitor janitor 2.1.0
pander pander 0.6.3
purrr purrr 0.3.4
readr readr 1.4.0
stringr stringr 1.4.0
tibble tibble 3.0.6
tidyr tidyr 1.1.2
tidyverse tidyverse 1.3.0
Anyone else seeing this and have any suggestions? TIA,
Chris