Skip to content

Add ability to set datanames #597

Add ability to set datanames

Add ability to set datanames #597

GitHub Actions / Unit Tests Summary failed Jan 10, 2025 in 0s

7 errors, 4 fail, 38 skipped, 98 pass in 12m 30s

  1 files  ±0   22 suites  ±0   12m 30s ⏱️ +5s
147 tests ±0   98 ✅ ±0  38 💤 ±0  4 ❌ ±0  7 🔥 ±0 
477 runs  ±0  423 ✅ ±0  38 💤 ±0  9 ❌ ±0  7 🔥 ±0 

Results for commit 478f9c9. ± Comparison against earlier commit 1d1c716.

Annotations

Check warning on line 0 in shinytest2_tm_data_table

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 2 runs failed: e2e_tm_data_table_Verify_error_on_datasets_selected (shinytest2_tm_data_table)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 3s]
Raw output
`app_driver()` did not throw an error. ('test-shinytest2-tm_data_table.R:126:3')
`app_driver()` did not throw an error.

Check failure on line 0 in shinytest2_tm_front_page

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 3 runs with error: e2e_tm_front_page_Verify_the_module_displays_metadata (shinytest2_tm_front_page)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 3s]
Raw output
Error in `app_find_node_id(self, private, input = input, output = output,  ('test-shinytest2-tm_front_page.R:64:3')
Error in `app_find_node_id(self, private, input = input, output = output, 
    selector = selector)`: Cannot find HTML element with selector #teal-teal_modules-front_page-module-metadata_button.shiny-bound-input
Backtrace:
    ▆
 1. └─app_driver$click(NS(app_driver$active_module_ns(), "metadata_button")) at test-shinytest2-tm_front_page.R:64: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_tm_front_page

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 3 runs failed: e2e_tm_front_page_Verify_the_module_displays_metadata (shinytest2_tm_front_page)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 3s]
Raw output
`app_driver_tm_front_page()` did not throw an error. ('test-shinytest2-tm_front_page.R:95:3')
`app_driver_tm_front_page()` did not throw an error.

Check failure on line 0 in shinytest2_tm_misssing_data

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 5 runs with error: e2e_tm_missing_data_Initializes_without_errors (shinytest2_tm_misssing_data)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `testthat::expect_match(encoding_dataset, "Datasets.*iris.*mtcars",  ('test-shinytest2-tm_misssing_data.R:53:3')
Error in `testthat::expect_match(encoding_dataset, "Datasets.*iris.*mtcars", 
    all = FALSE)`: is.character(act$val) is not TRUE
Backtrace:
    ▆
 1. └─testthat::expect_match(...) at test-shinytest2-tm_misssing_data.R:53:3
 2.   └─base::stopifnot(is.character(act$val))

Check warning on line 0 in shinytest2_tm_misssing_data

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 4 runs failed: e2e_tm_missing_data_Default_settings_and_visibility_of_the_summary_graph (shinytest2_tm_misssing_data)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 3s]
Raw output
app_driver$get_active_module_input("iris-summary_type") not equal to "Summary". ('test-shinytest2-tm_misssing_data.R:63:3')
app_driver$get_active_module_input("iris-summary_type") not equal to "Summary".
target is NULL, current is character

Check failure on line 0 in shinytest2_tm_misssing_data

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 4 runs with error: e2e_tm_missing_data_Default_settings_and_visibility_of_the_summary_graph (shinytest2_tm_misssing_data)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `testthat::expect_setequal(app_driver$get_active_module_input("iris-variables_select"),  ('test-shinytest2-tm_misssing_data.R:68:3')
Error in `testthat::expect_setequal(app_driver$get_active_module_input("iris-variables_select"), 
    c("Petal.Length", "Sepal.Length", "Petal.Width", "Species", 
        "Sepal.Width"))`: `object` and `expected` must both be vectors
Backtrace:
    ▆
 1. └─testthat::expect_setequal(...) at test-shinytest2-tm_misssing_data.R:68:3
 2.   └─rlang::abort("`object` and `expected` must both be vectors")

Check warning on line 0 in shinytest2_tm_misssing_data

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

3 out of 8 runs failed: e2e_tm_missing_data_Check_default_settings_and_visibility_of_the_combinations_graph_and_encodings (shinytest2_tm_misssing_data)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
app_driver$is_visible(app_driver$active_module_element("iris-combination_plot-plot_out_main")) is not TRUE ('test-shinytest2-tm_misssing_data.R:98:3')
app_driver$is_visible(app_driver$active_module_element("iris-combination_plot-plot_out_main")) is not TRUE

`actual` is NULL
`expected` is a logical vector (TRUE)

Check warning on line 0 in shinytest2_tm_misssing_data

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 5 runs failed: e2e_tm_missing_data_Validate_functionality_and_UI_response_for_By_Variable_Levels_ (shinytest2_tm_misssing_data)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
app_driver$get_active_module_input("iris-group_by_var") not equal to "Species". ('test-shinytest2-tm_misssing_data.R:127:3')
app_driver$get_active_module_input("iris-group_by_var") not equal to "Species".
target is NULL, current is character

Check failure on line 0 in shinytest2_tm_misssing_data

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 5 runs with error: e2e_tm_missing_data_Validate_functionality_and_UI_response_for_By_Variable_Levels_ (shinytest2_tm_misssing_data)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `testthat::expect_setequal(app_driver$get_active_module_input("iris-group_by_vals"),  ('test-shinytest2-tm_misssing_data.R:131:3')
Error in `testthat::expect_setequal(app_driver$get_active_module_input("iris-group_by_vals"), 
    c("NA", "setosa", "versicolor", "virginica"))`: `object` and `expected` must both be vectors
Backtrace:
    ▆
 1. └─testthat::expect_setequal(...) at test-shinytest2-tm_misssing_data.R:131:3
 2.   └─rlang::abort("`object` and `expected` must both be vectors")

Check failure on line 0 in shinytest2_tm_misssing_data

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 3 runs with error: e2e_tm_missing_data_Validate_By_Variable_Levels_table_values (shinytest2_tm_misssing_data)

teal.modules.general.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-tm_misssing_data.R:154:3')
Error in `UseMethod("read_xml")`: no applicable method for 'read_xml' applied to an object of class "NULL"
Backtrace:
    ▆
 1. ├─... %>% .[[1]] at test-shinytest2-tm_misssing_data.R:154:3
 2. ├─rvest::html_table(., fill = TRUE)
 3. └─app_driver$get_html_rvest(.)
 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 warning on line 0 in shinytest2_tm_variable_browser

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 5 runs failed: e2e_tm_variable_browser_content_is_displayed_correctly. (shinytest2_tm_variable_browser)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
trimws(app_driver$active_module_element_text("variable_summary_table table th")) (`actual`) doesn't fully contain all the values in "Statistic" (`expected`). ('test-shinytest2-tm_variable_browser.R:56:3')
trimws(app_driver$active_module_element_text("variable_summary_table table th")) (`actual`) doesn't fully contain all the values in "Statistic" (`expected`).
* Missing from `actual`: "Statistic"
* Present in `actual`:   "Level", "Count"

Check failure on line 0 in shinytest2_tm_variable_browser

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

e2e_tm_variable_browser_changing_display_density_encoding_doesn_t_show_errors. (shinytest2_tm_variable_browser) with error

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 4s]
Raw output
Error in `app_find_node_id(self, private, input = input, output = output,  ('test-shinytest2-tm_variable_browser.R:156:3')
Error in `app_find_node_id(self, private, input = input, output = output, 
    selector = selector)`: Cannot find HTML element with selector #teal-teal_modules-variable_browser__e2e_-module-display_density
Backtrace:
    ▆
 1. └─app_driver$click(selector = app_driver$active_module_element("display_density")) at test-shinytest2-tm_variable_browser.R:156: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_tm_variable_browser

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 2 runs with error: e2e_tm_variable_browser_changing_outlier_definition_encoding_doesn_t_show_errors. (shinytest2_tm_variable_browser)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `app_find_node_id(self, private, input = input, output = output,  ('test-shinytest2-tm_variable_browser.R:175:3')
Error in `app_find_node_id(self, private, input = input, output = output, 
    selector = selector)`: Cannot find HTML element with selector #teal-teal_modules-variable_browser__e2e_-module-remove_outliers
Backtrace:
    ▆
 1. └─app_driver$click(selector = app_driver$active_module_element("remove_outliers")) at test-shinytest2-tm_variable_browser.R:175: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_tm_variable_browser

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 2 runs failed: e2e_tm_variable_browser_Verify_error_on_datasets_selected (shinytest2_tm_variable_browser)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 4s]
Raw output
`app_driver_tm_variable_browser()` did not throw an error. ('test-shinytest2-tm_variable_browser.R:254:3')
`app_driver_tm_variable_browser()` did not throw an error.