Closed ddsjoberg closed 2 years ago
It seems related with a problem with broom
.
library(broom.helpers)
mod <- mgcv::gam(response ~ grade, data = gtsummary::trial)
mod |>
broom::tidy()
#> Warning: Unknown or uninitialised column: `term`.
#> Unknown or uninitialised column: `term`.
#> # A tibble: 0 × 1
#> # … with 1 variable: term <chr>
Created on 2022-09-19 with reprex v2.0.2
Sorry, it took me some time to remember GAM models.
We could just use a suppressWarning()
. Could I suggest to also add it in gtsummary::tidy_gam()
?
Thanks @larmarange !
This warning is being printed when I run the R CMD Checks. We should address this. If it's fine, we can add a
suppressWarning()
or something else?Created on 2022-09-18 with reprex v2.0.2