Skip to content

Commit 0048a41

Browse files
committed
fix: wrong function was being called
1 parent db6793f commit 0048a41

17 files changed

+59
-62
lines changed

R/tm_missing_data.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,15 +923,16 @@ srv_missing_data <- function(id,
923923
)
924924
)
925925
}
926+
926927
if (isTRUE(input$if_patients_plot)) {
927-
teal.code::eval_code(qenv, {
928+
within(qenv, {
928929
g1 <- ggplotGrob(summary_plot_top)
929930
g2 <- ggplotGrob(summary_plot_bottom)
930931
summary_plot <- gridExtra::gtable_cbind(g1, g2, size = "first")
931932
summary_plot$heights <- grid::unit.pmax(g1$heights, g2$heights)
932933
})
933934
} else {
934-
teal.code::eval_code(qenv, {
935+
within(qenv, {
935936
g1 <- ggplotGrob(summary_plot_top)
936937
summary_plot <- g1
937938
})

man/srv_decorate_teal_data.Rd

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_a_pca.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_a_regression.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_data_table.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)