Skip to content

Commit

Permalink
fix: wrong function was being called
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Nov 29, 2024
1 parent db6793f commit 0048a41
Show file tree
Hide file tree
Showing 17 changed files with 59 additions and 62 deletions.
5 changes: 3 additions & 2 deletions R/tm_missing_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -923,15 +923,16 @@ srv_missing_data <- function(id,
)
)
}

if (isTRUE(input$if_patients_plot)) {
teal.code::eval_code(qenv, {
within(qenv, {
g1 <- ggplotGrob(summary_plot_top)
g2 <- ggplotGrob(summary_plot_bottom)
summary_plot <- gridExtra::gtable_cbind(g1, g2, size = "first")
summary_plot$heights <- grid::unit.pmax(g1$heights, g2$heights)
})
} else {
teal.code::eval_code(qenv, {
within(qenv, {
g1 <- ggplotGrob(summary_plot_top)
summary_plot <- g1
})
Expand Down
4 changes: 0 additions & 4 deletions man/srv_decorate_teal_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/tm_a_pca.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/tm_a_regression.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/tm_data_table.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0048a41

Please sign in to comment.