diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1171b71506..b6233437cb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.1 + rev: v0.4.2 hooks: - id: style-files name: Style code with `styler` diff --git a/DESCRIPTION b/DESCRIPTION index 5b53fc346f..50228c8696 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Type: Package Package: teal Title: Exploratory Web Apps for Analyzing Clinical Trials Data -Version: 0.15.2.9026 -Date: 2024-04-12 +Version: 0.15.2.9028 +Date: 2024-04-16 Authors@R: c( person("Dawid", "Kaledkowski", , "dawid.kaledkowski@roche.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-9533-457X")), diff --git a/NEWS.md b/NEWS.md index adca37305e..bac71efb15 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# teal 0.15.2.9026 +# teal 0.15.2.9028 ### Miscellaneous * Filter mapping display is no longer coupled to the snapshot manager. diff --git a/R/TealAppDriver.R b/R/TealAppDriver.R index fda7f75ea3..d2c0c63f7b 100644 --- a/R/TealAppDriver.R +++ b/R/TealAppDriver.R @@ -224,7 +224,7 @@ TealAppDriver <- R6::R6Class( # nolint: object_name. #' @param ... Additional arguments to be passed to `shinytest2::AppDriver$set_inputs` #' #' @return The `TealAppDriver` object invisibly. - set_module_input = function(input_id, value, ...) { + set_active_module_input = function(input_id, value, ...) { checkmate::check_string(input_id) checkmate::check_string(value) self$set_input( diff --git a/README.md b/README.md index 476bef8849..9ec6b27066 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,11 @@ A lot of the functionality of the `teal` framework derives from the following pa - [`teal.logger`](https://insightsengineering.github.io/teal.logger/latest-tag/): standardizes logging within `teal` framework. - [`teal.reporter`](https://insightsengineering.github.io/teal.reporter/latest-tag/): allows `teal` applications to generate reports. +Dive deeper into `teal` with our comprehensive video guide. +Please click the image below to start learning: + +[![A Complete Guide to Getting Started with teal](https://img.youtube.com/vi/N8ZamECICSI/0.jpg)](https://www.youtube.com/watch?v=N8ZamECICSI) + ## Installation diff --git a/man/TealAppDriver.Rd b/man/TealAppDriver.Rd index 3df31be08d..e4b098c09f 100644 --- a/man/TealAppDriver.Rd +++ b/man/TealAppDriver.Rd @@ -33,7 +33,7 @@ driving a teal application for performing interactions for \code{shinytest2} tes \item \href{#method-TealAppDriver-active_filters_ns}{\code{TealAppDriver$active_filters_ns()}} \item \href{#method-TealAppDriver-get_active_module_input}{\code{TealAppDriver$get_active_module_input()}} \item \href{#method-TealAppDriver-get_active_module_output}{\code{TealAppDriver$get_active_module_output()}} -\item \href{#method-TealAppDriver-set_module_input}{\code{TealAppDriver$set_module_input()}} +\item \href{#method-TealAppDriver-set_active_module_input}{\code{TealAppDriver$set_active_module_input()}} \item \href{#method-TealAppDriver-get_active_filter_vars}{\code{TealAppDriver$get_active_filter_vars()}} \item \href{#method-TealAppDriver-is_visible}{\code{TealAppDriver$is_visible()}} \item \href{#method-TealAppDriver-get_active_data_filters}{\code{TealAppDriver$get_active_data_filters()}} @@ -349,13 +349,13 @@ The value of the shiny output. } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-TealAppDriver-set_module_input}{}}} -\subsection{Method \code{set_module_input()}}{ +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-TealAppDriver-set_active_module_input}{}}} +\subsection{Method \code{set_active_module_input()}}{ Set the input in the module in the \code{teal} app. This function will only set inputs in the name space of the current active teal module. \subsection{Usage}{ -\if{html}{\out{
}}\preformatted{TealAppDriver$set_module_input(input_id, value, ...)}\if{html}{\out{
}} +\if{html}{\out{
}}\preformatted{TealAppDriver$set_active_module_input(input_id, value, ...)}\if{html}{\out{
}} } \subsection{Arguments}{