Skip to content

Commit

Permalink
Merge branch 'main' into 1316_duplicates@main
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr authored Feb 7, 2025
2 parents af0f09e + e8af725 commit ca761ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
9 changes: 4 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: teal.modules.clinical
Title: 'teal' Modules for Standard Clinical Outputs
Version: 0.9.1.9055
Date: 2025-01-30
Version: 0.9.1.9057
Date: 2025-02-05
Authors@R: c(
person("Joe", "Zhu", , "[email protected]", role = c("aut", "cre")),
person("Jana", "Stoilova", , "[email protected]", role = "aut"),
Expand Down Expand Up @@ -59,7 +59,7 @@ Imports:
teal.data (>= 0.7.0),
teal.logger (>= 0.3.1),
teal.reporter (>= 0.4.0),
teal.widgets (>= 0.4.2.9025),
teal.widgets (>= 0.4.3),
tern.gee (>= 0.1.5),
tern.mmrm (>= 0.3.1),
utils,
Expand All @@ -82,8 +82,7 @@ VignetteBuilder:
rmarkdown
Remotes:
insightsengineering/teal,
insightsengineering/teal.transform,
insightsengineering/teal.widgets
insightsengineering/teal.transform
Config/Needs/verdepcheck: insightsengineering/teal,
insightsengineering/teal.slice, insightsengineering/teal.transform,
insightsengineering/tern, tidymodels/broom, mllg/checkmate,
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# teal.modules.clinical 0.9.1.9055
# teal.modules.clinical 0.9.1.9057

### Enhancements
* Added `teal.logger` functionality for logging changes in shiny inputs in all modules.
Expand Down
8 changes: 3 additions & 5 deletions vignettes/teal-modules-clinical.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ See the full index of package functions & modules [here](https://insightsenginee
A `teal.modules.clinical` module needs to be embedded inside a `shiny`/`teal` application to interact with it.
A simple application including a bar chart module could look like this:

```{r app, message = FALSE, results = "hide"}
```{r app, eval=FALSE}
library(teal.modules.clinical)
library(nestcolor)
Expand Down Expand Up @@ -82,9 +82,7 @@ app <- init(
)
)
)
```
```{r shinyapp, eval = FALSE}
shinyApp(app$ui, app$server)
```

Expand Down Expand Up @@ -170,7 +168,7 @@ app <- init(
Finally, we use `shiny` to launch the application:

```r
if (interactive()) shinyApp(app$ui, app$server)
shinyApp(app$ui, app$server)
```

Some `teal.modules.clinical` modules allow for the specification of arguments using
Expand All @@ -194,7 +192,7 @@ app <- init(
)
)

if (interactive()) shinyApp(app$ui, app$server)
shinyApp(app$ui, app$server)
```

Please refer to the [API reference](https://insightsengineering.github.io/teal.modules.clinical/latest-tag/reference/)
Expand Down

0 comments on commit ca761ee

Please sign in to comment.