-
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
Description
winbuilder check failed for R-devel:
https://win-builder.r-project.org/t7V9zV74I02N/00check.log
* checking tests ... [14s] ERROR
Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> pkg_name <- "teal.widgets"
> library(pkg_name, character.only = TRUE)
> if (!is.null(requireNamespace("testthat"))) {
+ library(testthat)
+ test_check(pkg_name)
+ } else {
+ message("Please install testthat to run tests")
+ }
Loading required namespace: testthat
Loading required package: shiny
Saving _problems/test-standard_layout-50.R
[ FAIL 1 | WARN 0 | SKIP 30 | PASS 250 ]
══ Skipped tests (30) ══════════════════════════════════════════════════════════
• On CRAN (3): 'test-optionalSliderInputValMinMax_ui.R:37:1',
'test-verbatim_popup_ui.R:153:1', 'test-white_small_well.R:7:1'
• testing depth 3 is below current testing specification 5 (27):
'test-draggable_buckets.R:19:5', 'test-draggable_buckets.R:42:5',
'test-draggable_buckets.R:68:5', 'test-get_dt_rows_ui.R:48:5',
'test-optionalSelectInput_ui.R:95:5',
'test-optionalSliderInputValMinMax_ui.R:16:5',
'test-plot_with_settings_ui.R:110:5', 'test-plot_with_settings_ui.R:133:5',
'test-plot_with_settings_ui.R:196:5', 'test-plot_with_settings_ui.R:238:5',
'test-plot_with_settings_ui.R:278:5', 'test-plot_with_settings_ui.R:323:5',
'test-plot_with_settings_ui.R:348:5', 'test-plot_with_settings_ui.R:369:3',
'test-plot_with_settings_ui.R:424:3', 'test-plot_with_settings_ui.R:447:3',
'test-plot_with_settings_ui.R:493:3', 'test-table_with_settings_ui.R:72:5',
'test-table_with_settings_ui.R:96:5', 'test-table_with_settings_ui.R:162:5',
'test-table_with_settings_ui.R:191:5', 'test-table_with_settings_ui.R:230:5',
'test-table_with_settings_ui.R:298:5', 'test-table_with_settings_ui.R:324:5',
'test-table_with_settings_ui.R:348:3', 'test-verbatim_popup_ui.R:33:5',
'test-verbatim_popup_ui.R:92:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-standard_layout.R:50:5'): Tests for standard_layout options / checks snapshot with encoding and null forms ──
Expected `grepl(as.character(mock_form), as.character(mock_layout))` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 1 | WARN 0 | SKIP 30 | PASS 250 ]
Originally posted by @donyunardi in #327 (comment)