Skip to content

Commit f3e4c8b

Browse files
kartikeyakirarkartikeyagithub-actions[bot]
authored
[Bug]: plots from tm_g_scatterplot and tm_a_regression modules print on IDE 554 (#555)
this PR fixes #554 --------- Co-authored-by: kartikeya <kartikeya.kirar@unicle.life> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent eec3847 commit f3e4c8b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

R/tm_a_regression.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,9 @@ srv_a_regression <- function(id,
849849
output$text <- renderText({
850850
req(iv_r()$is_valid())
851851
req(iv_out$is_valid())
852-
paste(utils::capture.output(summary(fitted()))[-1], collapse = "\n")
852+
paste(utils::capture.output(summary(teal.code::dev_suppress(fitted())))[-1],
853+
collapse = "\n"
854+
)
853855
})
854856

855857
teal.widgets::verbatim_popup_srv(

R/tm_g_scatterplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ srv_g_scatterplot <- function(id,
911911
validate(need(!input$add_density, "Brushing feature is currently not supported when plot has marginal density"))
912912
}
913913

914-
merged_data <- isolate(output_q()[["ANL"]])
914+
merged_data <- isolate(teal.code::dev_suppress(output_q()[["ANL"]]))
915915

916916
brushed_df <- teal.widgets::clean_brushedPoints(merged_data, plot_brush)
917917
numeric_cols <- names(brushed_df)[

0 commit comments

Comments
 (0)