From 6f0fccb8f58eea7bac75864e5a64f560def95508 Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Mon, 4 Mar 2024 10:17:08 +0100 Subject: [PATCH] exclude for stable (#228) This PR adds a few exclusions that will be valid only for stable deploy. I linked relevant PRs for the record. Once released this would have to be reverted back. I will have to find a good way how to keep track of such stuff. --- book/tables/ECG/egt01.qmd | 4 +++- book/tables/efficacy/ratet01.qmd | 3 ++- book/tables/lab-results/lbt01.qmd | 3 ++- book/tables/safety/enrollment01.qmd | 3 ++- book/tables/vital-signs/vst01.qmd | 3 ++- package/DESCRIPTION | 1 + 6 files changed, 12 insertions(+), 5 deletions(-) diff --git a/book/tables/ECG/egt01.qmd b/book/tables/ECG/egt01.qmd index 3f92f26194..47d64504b6 100644 --- a/book/tables/ECG/egt01.qmd +++ b/book/tables/ECG/egt01.qmd @@ -83,7 +83,9 @@ result ## `teal` App -```{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.0.9007"} +# https://github.com/insightsengineering/teal.modules.clinical/pull/1087 + library(teal.modules.clinical) ## Data reproducible code diff --git a/book/tables/efficacy/ratet01.qmd b/book/tables/efficacy/ratet01.qmd index 4e1d6fb85b..63543372e0 100644 --- a/book/tables/efficacy/ratet01.qmd +++ b/book/tables/efficacy/ratet01.qmd @@ -30,7 +30,8 @@ anl <- df_explicit_na(anl) ## Customized Table -```{r variant1, test = list(result_v1 = "result")} +```{r variant1, test = list(result_v1 = "result"), eval = packageVersion("tern") >= "0.9.3.9005"} +# https://github.com/insightsengineering/tern/pull/1163 lyt <- basic_table(show_colcounts = TRUE) %>% split_cols_by("ARM", ref_group = "B: Placebo", split_fun = ref_group_position("first")) %>% analyze_vars( diff --git a/book/tables/lab-results/lbt01.qmd b/book/tables/lab-results/lbt01.qmd index cd617f874e..d69375504c 100644 --- a/book/tables/lab-results/lbt01.qmd +++ b/book/tables/lab-results/lbt01.qmd @@ -87,7 +87,8 @@ result ## `teal` App -```{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.0.9007"} +# https://github.com/insightsengineering/teal.modules.clinical/pull/1087 library(teal.modules.clinical) ## Data reproducible code diff --git a/book/tables/safety/enrollment01.qmd b/book/tables/safety/enrollment01.qmd index e930988976..038e4ddf4b 100644 --- a/book/tables/safety/enrollment01.qmd +++ b/book/tables/safety/enrollment01.qmd @@ -126,7 +126,8 @@ result Note that for this module application, only the variables passed into `by_vars` are used when `row_groups` is selected. Variables passed into `analyze_vars` are additionally used when `row_groups` is deselected. -```{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.0.9003"} +# https://github.com/insightsengineering/teal.modules.clinical/pull/1083 library(teal.modules.clinical) ## Data reproducible code diff --git a/book/tables/vital-signs/vst01.qmd b/book/tables/vital-signs/vst01.qmd index 018bc207a1..f4041d8735 100644 --- a/book/tables/vital-signs/vst01.qmd +++ b/book/tables/vital-signs/vst01.qmd @@ -124,7 +124,8 @@ result ## `teal` App -```{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.0.9007"} +# https://github.com/insightsengineering/teal.modules.clinical/pull/1087 library(teal.modules.clinical) ## Data reproducible code diff --git a/package/DESCRIPTION b/package/DESCRIPTION index c6f7497abf..34addaaeef 100644 --- a/package/DESCRIPTION +++ b/package/DESCRIPTION @@ -46,6 +46,7 @@ Suggests: tibble, tidyr, vdiffr (>= 1.0.0), + webshot2, withr Encoding: UTF-8 Language: en-US