Skip to content

Feature branch PR #1263

Feature branch PR

Feature branch PR #1263

GitHub Actions / Unit Tests Summary failed Jul 15, 2024 in 0s

12 errors, 7 fail, 232 pass in 4m 0s

  1 files   29 suites   4m 0s ⏱️
251 tests 232 ✅ 0 💤 7 ❌ 12 🔥
485 runs  465 ✅ 0 💤 8 ❌ 12 🔥

Results for commit 0f508af.

Annotations

Check failure on line 0 in shinytest2_filter_panel

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_module_content_is_updated_when_a_data_is_filtered_in_filter_panel (shinytest2_filter_panel) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 4s]
Raw output
Error in `app$set_active_filter_selection("iris", "Species", c("setosa",  ('test-shinytest2-filter_panel.R:19:3')
Error in `app$set_active_filter_selection("iris", "Species", c("setosa", 
    "versicolor"))`: Filter selection set not supported for this slice.
Backtrace:
    ▆
 1. └─app$set_active_filter_selection(...) at test-shinytest2-filter_panel.R:19:3

Check failure on line 0 in shinytest2_filter_panel

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_filtering_a_module_specific_filter_is_refected_in_other_shared_module (shinytest2_filter_panel) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 5s]
Raw output
Error in `app$get_active_data_filters("iris")`: Assertion on 'dataset_name' failed: Must be a subset of the empty set, i.e. also empty. ('test-shinytest2-filter_panel.R:48:3')
Error in `app$get_active_data_filters("iris")`: Assertion on 'dataset_name' failed: Must be a subset of the empty set, i.e. also empty.
Backtrace:
    ▆
 1. ├─testthat::expect_setequal(...) at test-shinytest2-filter_panel.R:48:3
 2. │ └─testthat::quasi_label(enquo(object), arg = "object")
 3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 4. └─app$get_active_data_filters("iris")
 5.   └─checkmate::assert_subset(dataset_name, datasets)
 6.     └─checkmate::makeAssertion(x, res, .var.name, add)
 7.       └─checkmate:::mstop(...)

Check failure on line 0 in shinytest2_filter_panel

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_filtering_a_module_specific_filter_is_not_refected_in_other_unshared_modules (shinytest2_filter_panel) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 5s]
Raw output
Error in `app$get_active_data_filters("mtcars")`: Assertion on 'dataset_name' failed: Must be a subset of the empty set, i.e. also empty. ('test-shinytest2-filter_panel.R:87:3')
Error in `app$get_active_data_filters("mtcars")`: Assertion on 'dataset_name' failed: Must be a subset of the empty set, i.e. also empty.
Backtrace:
    ▆
 1. ├─testthat::expect_setequal(...) at test-shinytest2-filter_panel.R:87:3
 2. │ └─testthat::quasi_label(enquo(object), arg = "object")
 3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 4. └─app$get_active_data_filters("mtcars")
 5.   └─checkmate::assert_subset(dataset_name, datasets)
 6.     └─checkmate::makeAssertion(x, res, .var.name, add)
 7.       └─checkmate:::mstop(...)

Check warning on line 0 in shinytest2_init

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_teal_app_initializes_with_no_errors (shinytest2_init) failed

teal.Rcheck/tests/testthat/junit-result.xml [took 3s]
Raw output
self$get_html(".shiny-output-error:not(.shiny-output-error-validation)") is not NULL ('test-shinytest2-init.R:7:3')
self$get_html(".shiny-output-error:not(.shiny-output-error-validation)") is not NULL

`actual` is a character vector ('<div id="teal-teal_modules-example_module-filter_panel-panel" class="shiny-html-output shiny-bound-output shiny-output-error" aria-live="polite">invalid subscript type \'language\'</div>')
`expected` is NULL
Shiny error is observed
Backtrace:
    ▆
 1. └─app$expect_no_shiny_error() at test-shinytest2-init.R:7:3
 2.   └─testthat::expect_null(...)

Check warning on line 0 in shinytest2_modules

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 2 runs failed: e2e_the_module_server_logic_is_only_triggered_when_the_teal_module_becomes_active (shinytest2_modules)

teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
length(test_exports) not equal to 2. ('test-shinytest2-modules.R:35:3')
length(test_exports) not equal to 2.
1/1 mismatches
[1] 1 - 2 == -1

Check warning on line 0 in shinytest2_modules

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_filter_panel_only_shows_the_data_supplied_using_datanames (shinytest2_modules) failed

teal.Rcheck/tests/testthat/junit-result.xml [took 5s]
Raw output
app$get_active_filter_vars() not identical to "mtcars". ('test-shinytest2-modules.R:49:3')
app$get_active_filter_vars() not identical to "mtcars".
target is NULL, current is character

Check warning on line 0 in shinytest2_modules

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_filter_panel_shows_all_the_datasets_when_datanames_is_all (shinytest2_modules) failed

teal.Rcheck/tests/testthat/junit-result.xml [took 5s]
Raw output
app$get_active_filter_vars() not identical to c("iris", "mtcars"). ('test-shinytest2-modules.R:65:3')
app$get_active_filter_vars() not identical to c("iris", "mtcars").
target is NULL, current is character

Check warning on line 0 in shinytest2_modules

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_filter_panel_is_not_displayed_when_datanames_is_NULL (shinytest2_modules) failed

teal.Rcheck/tests/testthat/junit-result.xml [took 3s]
Raw output
... %>% rvest::html_attr("style") not identical to "display: none;". ('test-shinytest2-modules.R:81:3')
... %>% rvest::html_attr("style") not identical to "display: none;".
1/1 mismatches
x[1]: NA
y[1]: "display: none;"

Check failure on line 0 in shinytest2_reporter

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_reporter_tab_is_created_when_a_module_has_reporter (shinytest2_reporter) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 3s]
Raw output
Error in `UseMethod("read_xml")`: no applicable method for 'read_xml' applied to an object of class "NULL" ('test-shinytest2-reporter.R:8:3')
Error in `UseMethod("read_xml")`: no applicable method for 'read_xml' applied to an object of class "NULL"
Backtrace:
    ▆
 1. ├─... %>% rvest::html_elements("a") at test-shinytest2-reporter.R:8:3
 2. ├─rvest::html_elements(., "a")
 3. └─app$get_html_rvest(selector = "#teal-main_ui-root-active_tab")
 4.   ├─rvest::read_html(self$get_html(selector))
 5.   └─xml2:::read_html.default(self$get_html(selector))
 6.     ├─base::suppressWarnings(...)
 7.     │ └─base::withCallingHandlers(...)
 8.     └─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)

Check failure on line 0 in shinytest2_reporter

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_reporter_tab_is_not_created_when_a_module_has_no_reporter (shinytest2_reporter) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 3s]
Raw output
Error in `UseMethod("read_xml")`: no applicable method for 'read_xml' applied to an object of class "NULL" ('test-shinytest2-reporter.R:28:3')
Error in `UseMethod("read_xml")`: no applicable method for 'read_xml' applied to an object of class "NULL"
Backtrace:
    ▆
 1. ├─... %>% rvest::html_elements("a") at test-shinytest2-reporter.R:28:3
 2. ├─rvest::html_elements(., "a")
 3. └─app$get_html_rvest(selector = "#teal-main_ui-root-active_tab")
 4.   ├─rvest::read_html(self$get_html(selector))
 5.   └─xml2:::read_html.default(self$get_html(selector))
 6.     ├─base::suppressWarnings(...)
 7.     │ └─base::withCallingHandlers(...)
 8.     └─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)

Check failure on line 0 in shinytest2_reporter

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_adding_a_report_card_in_a_module_adds_it_in_the_report_previewer_tab (shinytest2_reporter) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 28s]
Raw output
Error in `app_find_node_id(self, private, input = input, output = output,  ('test-shinytest2-reporter.R:70:3')
Error in `app_find_node_id(self, private, input = input, output = output, 
    selector = selector)`: Cannot find HTML element with selector #teal-teal_modules-module_with_reporter-module-pcards .accordion-toggle
Backtrace:
    ▆
 1. └─app$click(selector = accordian_selector) at test-shinytest2-reporter.R:70:3
 2.   └─super$click(...)
 3.     └─shinytest2:::app_click(...)
 4.       └─shinytest2:::app_find_node_id(self, private, input = input, output = output, selector = selector)
 5.         └─shinytest2:::app_abort(...)
 6.           └─rlang::abort(..., app = self, call = call)

Check warning on line 0 in shinytest2_show_rcode

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

2 out of 9 runs failed: e2e_teal_app_initializes_with_Show_R_Code_modal (shinytest2_show_rcode)

teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`r_code` does not match "# Add any code to install/load your NEST environment here". ('test-shinytest2-show-rcode.R:48:3')
`r_code` does not match "# Add any code to install/load your NEST environment here".
Actual value: "iris <- iris\nmtcars <- mtcars\n\nstopifnot(rlang::hash(iris) == "34844aba7bde36f5a34f6d8e39803508")\nstopifnot(rlang::hash(mtcars) == "d0487363db4e6cc64fdb740cb6617fc0")\niris_raw <- iris\nmtcars_raw <- mtcars"
Backtrace:
    ▆
 1. └─testthat::expect_match(...) at test-shinytest2-show-rcode.R:48:3
 2.   └─testthat:::expect_match_(...)

Check failure on line 0 in shinytest2_teal_data_module

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_teal_data_module_will_have_a_delayed_load_of_datasets (shinytest2_teal_data_module) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 2s]
Raw output
Error in `app_find_node_id(self, private, input = input, output = output,  ('test-shinytest2-teal_data_module.R:31:3')
Error in `app_find_node_id(self, private, input = input, output = output, 
    selector = selector)`: Cannot find HTML element with selector #teal_data_module-submit.shiny-bound-input
Backtrace:
    ▆
 1. └─app$click("teal_data_module-submit") at test-shinytest2-teal_data_module.R:31:3
 2.   └─super$click(...)
 3.     └─shinytest2:::app_click(...)
 4.       └─shinytest2:::app_find_node_id(self, private, input = input, output = output, selector = selector)
 5.         └─shinytest2:::app_abort(...)
 6.           └─rlang::abort(..., app = self, call = call)

Check failure on line 0 in shinytest2_teal_data_module

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_teal_data_module_shows_validation_errors (shinytest2_teal_data_module) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 2s]
Raw output
Error in `app_find_node_id(self, private, input = input, output = output,  ('test-shinytest2-teal_data_module.R:66:3')
Error in `app_find_node_id(self, private, input = input, output = output, 
    selector = selector)`: Cannot find HTML element with selector #teal_data_module-submit.shiny-bound-input
Backtrace:
    ▆
 1. └─app$click("teal_data_module-submit") at test-shinytest2-teal_data_module.R:66:3
 2.   └─super$click(...)
 3.     └─shinytest2:::app_click(...)
 4.       └─shinytest2:::app_find_node_id(self, private, input = input, output = output, selector = selector)
 5.         └─shinytest2:::app_abort(...)
 6.           └─rlang::abort(..., app = self, call = call)

Check failure on line 0 in shinytest2_teal_data_module

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_teal_data_module_inputs_change_teal_data_object_that_is_passed_to_teal_main_UI (shinytest2_teal_data_module) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 2s]
Raw output
Error in `app_find_node_id(self, private, input = input, output = output,  ('test-shinytest2-teal_data_module.R:111:3')
Error in `app_find_node_id(self, private, input = input, output = output, 
    selector = selector)`: Cannot find HTML element with selector #teal_data_module-submit.shiny-bound-input
Backtrace:
    ▆
 1. └─app$click("teal_data_module-submit") at test-shinytest2-teal_data_module.R:111:3
 2.   └─super$click(...)
 3.     └─shinytest2:::app_click(...)
 4.       └─shinytest2:::app_find_node_id(self, private, input = input, output = output, selector = selector)
 5.         └─shinytest2:::app_abort(...)
 6.           └─rlang::abort(..., app = self, call = call)

Check failure on line 0 in shinytest2_teal_slices

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_teal_slices_filters_are_initialized_when_global_filters_are_created (shinytest2_teal_slices) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 5s]
Raw output
Error in `app$get_active_data_filters("iris")`: Assertion on 'dataset_name' failed: Must be a subset of the empty set, i.e. also empty. ('test-shinytest2-teal_slices.R:17:3')
Error in `app$get_active_data_filters("iris")`: Assertion on 'dataset_name' failed: Must be a subset of the empty set, i.e. also empty.
Backtrace:
    ▆
 1. ├─testthat::expect_setequal(...) at test-shinytest2-teal_slices.R:17:3
 2. │ └─testthat::quasi_label(enquo(object), arg = "object")
 3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 4. └─app$get_active_data_filters("iris")
 5.   └─checkmate::assert_subset(dataset_name, datasets)
 6.     └─checkmate::makeAssertion(x, res, .var.name, add)
 7.       └─checkmate:::mstop(...)

Check failure on line 0 in shinytest2_teal_slices

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_teal_slices_filters_are_initialized_when_module_specific_filters_are_created (shinytest2_teal_slices) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 5s]
Raw output
Error in `app$get_active_data_filters("iris")`: Assertion on 'dataset_name' failed: Must be a subset of the empty set, i.e. also empty. ('test-shinytest2-teal_slices.R:65:3')
Error in `app$get_active_data_filters("iris")`: Assertion on 'dataset_name' failed: Must be a subset of the empty set, i.e. also empty.
Backtrace:
    ▆
 1. ├─testthat::expect_setequal(...) at test-shinytest2-teal_slices.R:65:3
 2. │ └─testthat::quasi_label(enquo(object), arg = "object")
 3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 4. └─app$get_active_data_filters("iris")
 5.   └─checkmate::assert_subset(dataset_name, datasets)
 6.     └─checkmate::makeAssertion(x, res, .var.name, add)
 7.       └─checkmate:::mstop(...)

Check warning on line 0 in shinytest2_utils

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 4 runs failed: e2e_show_hide_hamburger_works_as_expected (shinytest2_utils)

teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
grepl("display: block;", secondary_attrs$style) is not TRUE ('test-shinytest2-utils.R:21:3')
grepl("display: block;", secondary_attrs$style) is not TRUE

`actual`:   FALSE
`expected`: TRUE

Check failure on line 0 in snapshot_manager

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

snapshot_manager_holds_initial_state_in_history (snapshot_manager) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `eval(code, test_env)`: object 'snapshot_manager_srv' not found ('test-snapshot_manager.R:29:3')
Error in `eval(code, test_env)`: object 'snapshot_manager_srv' not found
Backtrace:
    ▆
 1. └─shiny::testServer(...) at test-snapshot_manager.R:29:3
 2.   └─shiny:::isModuleServer(app)