Skip to content

Commit

Permalink
exclude for stable (#228)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pawelru committed Mar 4, 2024
1 parent 131cf88 commit 6f0fccb
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
4 changes: 3 additions & 1 deletion book/tables/ECG/egt01.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion book/tables/efficacy/ratet01.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 2 additions & 1 deletion book/tables/lab-results/lbt01.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion book/tables/safety/enrollment01.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion book/tables/vital-signs/vst01.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Suggests:
tibble,
tidyr,
vdiffr (>= 1.0.0),
webshot2,
withr
Encoding: UTF-8
Language: en-US
Expand Down

0 comments on commit 6f0fccb

Please sign in to comment.