Skip to content

Commit

Permalink
get_code to return concatenated code string (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikeyakirar authored Nov 29, 2023
1 parent e9b3b7e commit 14df20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/adding-support-for-reporting.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ example_reporter_module <- function(label = "Example") {
card$append_text("Module Table", "header3")
card$append_table(table_q()[["result"]])
card$append_text("Show R Code", "header3")
card$append_text(paste(teal.code::get_code(table_q()), collapse = "\n"), "verbatim")
card$append_text(teal.code::get_code(table_q()), "verbatim")
if (!comment == "") {
card$append_text("Comment", "header3")
card$append_text(comment)
Expand Down

0 comments on commit 14df20d

Please sign in to comment.