Skip to content

Commit

Permalink
Merge branch 'main' into 1187_decorate_output@main
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo authored Dec 17, 2024
2 parents 9c4612c + c2c21c7 commit fad76cd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 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.9040
Date: 2024-12-11
Version: 0.9.1.9041
Date: 2024-12-17
Authors@R: c(
person("Joe", "Zhu", , "[email protected]", role = c("aut", "cre")),
person("Jana", "Stoilova", , "[email protected]", role = "aut"),
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.9040
# teal.modules.clinical 0.9.1.9041

### Enhancements
* Added `teal.logger` functionality for logging changes in shiny inputs in all modules.
Expand Down
17 changes: 12 additions & 5 deletions tests/testthat/test-examples.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,17 @@ with_mocked_app_bindings <- function(code) {
args <- list(...)
args[["launch.browser"]] <- FALSE # needed for RStudio

app_driver <- shinytest2::AppDriver$new(
x,
shiny_args = args,
check_names = FALSE, # explicit check below
options = options() # https://github.com/rstudio/shinytest2/issues/377
app_driver <- tryCatch(
shinytest2::AppDriver$new(
x,
shiny_args = args,
check_names = FALSE, # explicit check below
options = options() # https://github.com/rstudio/shinytest2/issues/377
),
error = function(e) {
e$app$stop() # Ensure the R instance is stopped
stop(e)
}
)
on.exit(app_driver$stop(), add = TRUE)
app_driver$wait_for_idle(timeout = 20000)
Expand Down Expand Up @@ -118,6 +124,7 @@ for (i in rd_files()) {
paste0("example-", basename(i)),
{
testthat::skip_on_cran()
skip_if_too_deep(5)
if (basename(i) %in% strict_exceptions) {
op <- options()
withr::local_options(opts_partial_match_old)
Expand Down

0 comments on commit fad76cd

Please sign in to comment.