Skip to content

Commit a8fec54

Browse files
committed
return plot and the source code through card_fun
1 parent 5988d34 commit a8fec54

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

R/tm_a_regression.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,12 +1035,12 @@ srv_a_regression <- function(id,
10351035
### REPORTER
10361036
card_fun <- reactive({
10371037
req(plot_r(), source_code_r())
1038-
teal.reporter::report_document(
1039-
"## Plot",
1040-
#,plot_r())
1041-
"## Source Code"
1042-
#,source_code_r()
1043-
)
1038+
teal.reporter::report_document(
1039+
"## Plot",
1040+
plot_r(),
1041+
"## Source Code",
1042+
source_code_r()
1043+
)
10441044
})
10451045
###
10461046

0 commit comments

Comments
 (0)