O elemento de tema "tbl_summary-arg:type" no gtsummary não funciona, embora o argumento de tipo funcione bem com o mesmo código
library(gtsummary)
packageVersion("gtsummary")
#> [1] '2.1.0.9010'
# Reset theme to defaults first
reset_gtsummary_theme()
tbl_summary(trial) |>
# Converting to a flextable object because gtsummary
# objects aren't rendered properly on Stack Overflow
as_flex_table()

# Apply my theme
set_gtsummary_theme(list("tbl_summary-arg:type" =
list(all_dichotomous() ~ "categorical")))
# check if it works
trial |>
tbl_summary() |>
as_flex_table()

#Not working Patient Died is still presented as dichotomous
#Checking type argument
reset_gtsummary_theme()
trial |>
tbl_summary(type = all_dichotomous() ~ "categorical") |>
as_flex_table()

#works well
Criado em 2025-04-07 com reprex v2.1.1
Estou esquecendo de algo que está fazendo com que não funcione?