Skip to content

Commit 3e0bf85

Browse files
authored
Fixes deprecation warning in tm_g_association (#908)
# Pull Request <!--- Replace `#nnn` with your issue link for reference. --> - Fixes #903
1 parent f598075 commit 3e0bf85

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

NEWS.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77

88
### Bug fixes
99

10-
- Fixes "Add to Report" functionality in `tm_outliers`, `tm_missing_data` and `tm_g_distribution` modules (#899 and #897).
10+
- Fixed "Add to Report" functionality in `tm_outliers`, `tm_missing_data` and `tm_g_distribution` modules (#899 and #897).
11+
12+
### Miscellaneous
13+
14+
- Fixed deprecation warning for `tern::stack_grobs` in `tm_g_association` (#903).
1115

1216
# teal.modules.general 0.4.1
1317

R/tm_g_association.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ srv_tm_g_association <- function(id,
509509
plots <- plot_calls
510510
plot_top <- plots[[1]]
511511
plot_bottom <- plots[[2]]
512-
plot <- tern::stack_grobs(grobs = lapply(list(plot_top, plot_bottom), ggplot2::ggplotGrob))
512+
plot <- gridExtra::grid.arrange(plot_top, plot_bottom, ncol = 1)
513513
},
514514
env = list(
515515
plot_calls = do.call(

0 commit comments

Comments
 (0)