Skip to content

Commit 13464d8

Browse files
committed
Update ARD printing
1 parent 8904b37 commit 13464d8

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

quarto/table-templates/template-table_11.qmd

+6-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
title: FDA Table 11
33
subtitle: Patients with FDA Medical Query (Narrow) Leading to Treatment Discontinuation, Safety Population, Pooled Analyses
44
format: html
5-
knitr:
6-
opts_chunk:
7-
R.options:
8-
max.print: 999
9-
width: 999
105
---
116

7+
```{r setup, echo=FALSE}
8+
```
9+
1210
::: panel-tabset
1311
## Spec. Screenshot
1412

@@ -76,7 +74,7 @@ Source code for this function is available [here](https://github.com/pharmaverse
7674

7775
<details>
7876
<summary>ARD Setup</summary>
79-
```{r tbl1, eval=FALSE, echo=TRUE}
77+
```{r tbl1, echo=TRUE, message=FALSE, warning=FALSE, results='hide'}
8078
# Load Libraries & Data
8179
library(cardinal)
8280
@@ -102,7 +100,8 @@ result$ard
102100
```
103101
</details>
104102

105-
```{r tbl1, message=FALSE, warning=FALSE, eval=TRUE}
103+
```{r tbl1-print, echo=FALSE}
104+
print(result$ard, columns = "all", n = Inf)
106105
```
107106

108107
## rtables Table

quarto/table-templates/template-table_12.qmd

+3-7
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
title: FDA Table 12
33
subtitle: Patients With Adverse Events Leading to Treatment Discontinuation by System Organ Class and Preferred Term, Safety Population, Pooled Analyses
44
format: html
5-
knitr:
6-
opts_chunk:
7-
R.options:
8-
max.print: 999
9-
width: 999
105
---
116

127
::: panel-tabset
@@ -68,7 +63,7 @@ Source code for this function is available [here](https://github.com/pharmaverse
6863

6964
<details>
7065
<summary>ARD Setup</summary>
71-
```{r tbl1, eval=FALSE, echo=TRUE}
66+
```{r tbl1, echo=TRUE, message=FALSE, warning=FALSE, results='hide'}
7267
# Load Libraries & Data
7368
library(cardinal)
7469
@@ -89,7 +84,8 @@ result$ard
8984
```
9085
</details>
9186

92-
```{r tbl1, message=FALSE, warning=FALSE, eval=TRUE}
87+
```{r tbl1-print, echo=FALSE}
88+
print(result$ard, columns = "all", n = Inf)
9389
```
9490

9591
## rtables Table

0 commit comments

Comments
 (0)