-
-
Notifications
You must be signed in to change notification settings - Fork 2
followup after TealAppDriver$initialize changes #368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Code Coverage SummaryDiff against mainResults for commit: 14e6401 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary6 tests 0 ✅ 3s ⏱️ Results for commit 14e6401. ♻️ This comment has been updated with latest results. |
Unit Test Performance Difference
Additional test case details
Results for commit f2c84a7 ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably the same as in tmg
> options(TESTING_DEPTH=5);devtools::test()
ℹ Testing teal.goshawk
✔ | F W S OK | Context
⠏ | 0 | shinytest2-tm_g_gh_boxplot [INFO] 2025-10-10 15:17:54.0153 pid:16096 token:[] teal.goshawk Initializing tm_g_gh_boxplot
⠋ | 1 0 | shinytest2-tm_g_gh_boxplot [INFO] 2025-10-10 15:17:54.7206 pid:16096 token:[] teal.goshawk Initializing tm_g_gh_boxplot
⠙ | 2 0 | shinytest2-tm_g_gh_boxplot [INFO] 2025-10-10 15:17:55.3297 pid:16096 token:[] teal.goshawk Initializing tm_g_gh_boxplot
⠹ | 3 0 | shinytest2-tm_g_gh_boxplot [INFO] 2025-10-10 15:17:55.9445 pid:16096 token:[] teal.goshawk Initializing tm_g_gh_boxplot
⠸ | 4 0 | shinytest2-tm_g_gh_boxplot [INFO] 2025-10-10 15:17:56.7767 pid:16096 token:[] teal.goshawk Initializing tm_g_gh_boxplot
⠼ | 5 0 | shinytest2-tm_g_gh_boxplot [INFO] 2025-10-10 15:17:57.3295 pid:16096 token:[] teal.goshawk Initializing tm_g_gh_boxplot
✖ | 6 0 | shinytest2-tm_g_gh_boxplot [4.9s]
────────────────────────────────────────────────────────────────────────────────────────
Error (test-shinytest2-tm_g_gh_boxplot.R:25:3): toggle_slider_module: widgets are initialized with proper values
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:25:3
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:38:3): toggle_slider_module: changing the sliderInput sets proper numericInput values
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:38:3
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:54:5): toggle_slider_module: changing the numericInputs
within the sliderInput range, sets proper sliderInput values
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:54:5
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:88:5): toggle_slider_module: changing the numericInputs
outside the sliderInput range, sets proper sliderInput values and range
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:88:5
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:121:5): toggle_slider_module: changing the numericInputs
within the rage, sets back the sliderInput range to initial range
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:121:5
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:155:5): toggle_slider_module: changing dependant widgets outside
sets proper sliderInput and numericInput values
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:155:5
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
────────────────────────────────────────────────────────────────────────────────────────
══ Results ═════════════════════════════════════════════════════════════════════════════
Duration: 5.2 s
── Failed tests ────────────────────────────────────────────────────────────────────────
Error (test-shinytest2-tm_g_gh_boxplot.R:25:3): toggle_slider_module: widgets are initialized with proper values
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:25:3
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:38:3): toggle_slider_module: changing the sliderInput sets proper numericInput values
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:38:3
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:54:5): toggle_slider_module: changing the numericInputs
within the sliderInput range, sets proper sliderInput values
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:54:5
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:88:5): toggle_slider_module: changing the numericInputs
outside the sliderInput range, sets proper sliderInput values and range
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:88:5
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:121:5): toggle_slider_module: changing the numericInputs
within the rage, sets back the sliderInput range to initial range
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:121:5
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
Error (test-shinytest2-tm_g_gh_boxplot.R:155:5): toggle_slider_module: changing dependant widgets outside
sets proper sliderInput and numericInput values
<evalError/missingArgError/error/condition>
Error in `initialize(...)`: argument "modules" is missing, with no default
Backtrace:
▆
1. └─teal.goshawk (local) tm_g_gh_boxplot_driver() at test-shinytest2-tm_g_gh_boxplot.R:155:5
2. └─init_teal_app_driver(...) at test-shinytest2-tm_g_gh_boxplot.R:2:3
3. ├─testthat::with_mocked_bindings(...) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:2:3
4. └─TealAppDriver$new(teal::init(...)) at C:\Rprojects\teal.goshawk\tests\testthat\helper-TealAppDriver.R:5:7
5. └─teal (local) initialize(...)
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 0 ]There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all checks have passed
Followup after insightsengineering/teal#1623
TealAppDrivernow acceptsteal_appinstead ofdata, modules, ...Please run the tests with
options(TESTING_DEPTH=5)