Skip to content

Commit

Permalink
clean up print(plot) in tm_g_distribution module (#810)
Browse files Browse the repository at this point in the history
Signed-off-by: André Veríssimo <[email protected]>
Co-authored-by: André Veríssimo <[email protected]>
  • Loading branch information
m7pr and averissimo authored Nov 22, 2024
1 parent 5f2d532 commit 89f1d44
Show file tree
Hide file tree
Showing 16 changed files with 58 additions and 57 deletions.
3 changes: 2 additions & 1 deletion R/tm_g_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -1241,15 +1241,16 @@ srv_distribution <- function(id,
data = output_dist_q,
transformators = decorators
)

decorated_output_dist_q <- reactive(within(req(decorated_output_dist_q_no_print()), expr = print(plot)))

decorated_output_qq_q_no_print <- srv_transform_teal_data(
"d_qq",
data = output_qq_q,
transformators = decorators
)
decorated_output_qq_q <- reactive(within(req(decorated_output_qq_q_no_print()), expr = print(plot)))

decorated_output_qq_q <- reactive(within(req(decorated_output_qq_q_no_print()), expr = print(plot)))

decorated_output_q <- reactive({
tab <- req(input$tabs) # tab is NULL upon app launch, hence will crash without this statement
Expand Down
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 89f1d44

Please sign in to comment.