Skip to content

Commit 3bbf228

Browse files
authored
Update R/tm_t_crosstable.R
Signed-off-by: Marcin <[email protected]>
1 parent 5ad53e9 commit 3bbf228

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

R/tm_t_crosstable.R

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,12 @@ srv_t_crosstable <- function(id, data, label, x, y, remove_zero_columns, basic_t
329329
)
330330
qenv <- reactive({
331331
obj <- data()
332-
teal.reporter::teal_card(obj) <- append(teal.reporter::teal_card(obj), "# Cross Table", after = 0)
333-
teal.reporter::teal_card(obj) <- c(teal.reporter::teal_card(obj), "## Module's code")
332+
teal.reporter::teal_card(obj) <-
333+
c(
334+
teal.reporter::teal_card("# Cross Table"),
335+
teal.reporter::teal_card(obj),
336+
teal.reporter::teal_card("## Module's code")
337+
)
334338
teal.code::eval_code(obj, 'library("rtables");library("tern");library("dplyr")') # nolint: quotes.
335339
})
336340
anl_merged_q <- reactive({

0 commit comments

Comments
 (0)