gtsummary was working fine originally, but at some point it became unusable. I thought it might be an error when creating a fairly complex table, but even with the following simple code, an error occurs.Can anyone give me some advice?
library(dplyr)
library(gtsummary)
iris %>% tbl_summary()
iris %>% tbl_summary()
Error inscope_tidy()
:
! The.$x
data frame does not have the required “variable” column.
Runrlang::last_trace()
to see where the error occurred.
I have tried updating R and the library, but it has not improved.
There was someone else asking a similar question, but I didn’t know the solution.
text
f43takazo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.