From a02bcc313c875b70a315df2a817a735f7fa60b60 Mon Sep 17 00:00:00 2001 From: go_gonzo Date: Wed, 11 Sep 2024 08:03:01 +0200 Subject: [PATCH 1/2] @datanames ignored --- tests/testthat/test-shinytest2-tm_variable_browser.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-shinytest2-tm_variable_browser.R b/tests/testthat/test-shinytest2-tm_variable_browser.R index 854f1352d..bfdf2c8a2 100644 --- a/tests/testthat/test-shinytest2-tm_variable_browser.R +++ b/tests/testthat/test-shinytest2-tm_variable_browser.R @@ -10,12 +10,12 @@ app_driver_tm_variable_browser <- function() { CO2 <- CO2 # nolint: object_name. } ) - teal.data::datanames(data) <- c("iris", "mtcars", "women", "faithful", "CO2") init_teal_app_driver( data = data, modules = tm_variable_browser( label = "Variable browser (e2e)", + datasets_selected = c("iris", "mtcars", "women", "faithful", "CO2"), parent_dataname = "CO2", ggplot2_args = teal.widgets::ggplot2_args( labs = list(subtitle = "Plot generated by Variable Browser Module") From b73e17059b38b1a614e79f213487b26aa0689977 Mon Sep 17 00:00:00 2001 From: go_gonzo Date: Wed, 11 Sep 2024 08:26:38 +0200 Subject: [PATCH 2/2] fix empty argument error --- tests/testthat/test-shinytest2-tm_variable_browser.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-shinytest2-tm_variable_browser.R b/tests/testthat/test-shinytest2-tm_variable_browser.R index bfdf2c8a2..abf5680f8 100644 --- a/tests/testthat/test-shinytest2-tm_variable_browser.R +++ b/tests/testthat/test-shinytest2-tm_variable_browser.R @@ -21,7 +21,7 @@ app_driver_tm_variable_browser <- function() { labs = list(subtitle = "Plot generated by Variable Browser Module") ), pre_output = shiny::tags$div("A pre-output message for tm_variable_browser"), - post_output = shiny::tags$div("A post-output message for tm_variable_browser"), + post_output = shiny::tags$div("A post-output message for tm_variable_browser") ) ) }