Skip to content

Commit 11804a2

Browse files
committed
add rtables for testing to tmg
1 parent a508a36 commit 11804a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

R/tm_a_regression.R

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,13 @@ srv_a_regression <- function(id,
10831083
) |>
10841084
teal.reporter::link_output(plot_r()),
10851085

1086+
"## rtables for testing",
1087+
rtables::rtable(
1088+
header = LETTERS[1:3],
1089+
rtables::rrow("one to three", 1, 2, 3),
1090+
rtables::rrow("more stuff", rtables::rcell(pi, format = "xx.xx"), "test", "and more")
1091+
),
1092+
10861093
"## Table for testing",
10871094
head(iris)
10881095
)

0 commit comments

Comments
 (0)