Closed larmarange closed 2 years ago
Several functions (like add_inline_forest_plot() still use assert_package()) producing an error as it is not anymore exported by gtsummary.
add_inline_forest_plot()
assert_package()
gtsummary
library(bstfun) library(gtsummary) #> #> Attachement du package : 'gtsummary' #> Les objets suivants sont masqués depuis 'package:bstfun': #> #> tbl_split, trial add_inline_forest_plot_ex1 <- lm(mpg ~ cyl + am + drat, mtcars) %>% tbl_regression() %>% add_inline_forest_plot() #> Error: 'assert_package' n’est un object exporté depuis 'namespace:gtsummary'
Created on 2022-02-03 by the reprex package (v2.0.1)
Can you try the dev version? I added this:
https://github.com/ddsjoberg/bstfun/blob/b2ae96230f2c46e5a2a8c02139de6c6e836478e7/R/add_inline_forest_plot.R#L89
Sorry. I just forgot to update bstfun
No worries! :)
Several functions (like
add_inline_forest_plot()
still useassert_package()
) producing an error as it is not anymore exported bygtsummary
.Created on 2022-02-03 by the reprex package (v2.0.1)