diff --git a/book/README.md b/book/README.md index dfddd0cd0..87542d0ca 100644 --- a/book/README.md +++ b/book/README.md @@ -1,4 +1,6 @@ -# TLG Catalog +# TLG Catalog + + The TLG catalog is a catalog of **T**ables, **L**istings, and **G**raphs for clinical trials generated using NEST packages. diff --git a/book/_quarto-development.yml b/book/_quarto-development.yml index 6de23f870..ec323f9df 100644 --- a/book/_quarto-development.yml +++ b/book/_quarto-development.yml @@ -14,6 +14,8 @@ website: href: https://github.com/insightsengineering/tlg-catalog aria-label: Repository -webr: - repos: - - https://pharmaverse.r-universe.dev/ \ No newline at end of file +html: + live-html: + webr: + repos: + - https://pharmaverse.r-universe.dev/ \ No newline at end of file diff --git a/book/_quarto-stable.yml b/book/_quarto-stable.yml index 9071b4db0..787d23b9f 100644 --- a/book/_quarto-stable.yml +++ b/book/_quarto-stable.yml @@ -14,6 +14,7 @@ website: href: https://github.com/insightsengineering/tlg-catalog aria-label: Repository -webr: - repos: - - https://insightsengineering.r-universe.dev/ \ No newline at end of file +live-html: + webr: + repos: + - https://insightsengineering.r-universe.dev/ \ No newline at end of file diff --git a/book/_quarto.yml b/book/_quarto.yml index ffbb3a5cf..c8e038b1f 100644 --- a/book/_quarto.yml +++ b/book/_quarto.yml @@ -36,6 +36,14 @@ format: grid: body-width: 99999px # max width - full screen toc: true + webr: + packages: + - tern + - random.cdisc.data + - dplyr + cell-options: + autorun: true + max-lines: 20 execute: freeze: auto @@ -45,14 +53,6 @@ execute: engine: knitr -webr: - packages: - - tern - - random.cdisc.data - - dplyr - cell-options: - autorun: true - max-lines: 20 filters: - insightsengineering/pattern-strip diff --git a/book/graphs/other/mng01.qmd b/book/graphs/other/mng01.qmd index 60be8f421..64301a659 100644 --- a/book/graphs/other/mng01.qmd +++ b/book/graphs/other/mng01.qmd @@ -228,7 +228,7 @@ webr_code_labels <- c("plot7") ::: {.panel-tabset .nav-justified} ## {{< fa regular file-lines fa-sm fa-fw >}} Preview -```{r teal, opts.label = c("skip_if_testing", "app")} +```{r teal, opts.label = c("skip_if_testing", "app"), eval = packageVersion("teal.modules.clinical") > "0.9.1"} library(teal.modules.clinical) ## Data reproducible code diff --git a/book/index.qmd b/book/index.qmd index 542a1b8b2..882ff98f5 100644 --- a/book/index.qmd +++ b/book/index.qmd @@ -1,9 +1,5 @@ --- title-block-style: none -format: - html: - code-tools: - source: false --- {{< include README.md >}} diff --git a/book/tables/lab-results/lbt07.qmd b/book/tables/lab-results/lbt07.qmd index 216d32877..2b6f178e5 100644 --- a/book/tables/lab-results/lbt07.qmd +++ b/book/tables/lab-results/lbt07.qmd @@ -130,7 +130,7 @@ webr_code_labels <- c("variant1") ::: {.panel-tabset .nav-justified} ## {{< fa regular file-lines fa-sm fa-fw >}} Preview -```{r teal, opts.label = c("skip_if_testing", "app")} +```{r teal, opts.label = c("skip_if_testing", "app"), eval = packageVersion("teal.slice") > "0.5.1"} library(teal.modules.clinical) ## Data reproducible code