Running ‘spelling.R’
  Running ‘testthat.R’ [61s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(shinytest2)
  > 
  > test_check("shinytest2")
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 322 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • App test folders have been ignored (1): 'test-apps.R:3:3'
  • On CRAN (2): 'test-migration-migrate.R:3:1', 'test-shinytest2.R:1:1'
  • Only run on CI (3): 'test-save-app.R:6:3', 'test-save-app.R:23:3',
    'test-save-app.R:36:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-app-duplicate-ids.R:90:3'): Duplicate input ids are found ──────
  Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, 
      timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args, 
      screenshot_args = screenshot_args, check_names = check_names, 
      name = name, variant = variant, view = view, height = height, 
      width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args, 
      render_args = render_args, options = options)`: Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  
  
  i You can inspect the failed AppDriver object via `rlang::last_error()$app`
  i AppDriver logs:
  {shinytest2} R info   06:15:59.38 Start AppDriver initialization
  {shinytest2} R info   06:15:59.39 Starting Shiny app
  {shinytest2} R info   06:16:01.45 Error while initializing AppDriver:
                                    Cannot find shiny port number. Error lines found:
                                    Loading required package: shiny
  {shiny}      R stderr ----------- Loading required package: shiny
  {shiny}      R stderr ----------- Running application in test mode.
  {shiny}      R stderr ----------- 
  {shiny}      R stderr ----------- Listening on http://127.0.0.1:4702
  
  
  Caused by error in `app_start_shiny()`:
  ! Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 322 ]
  Error: Test failures
  [2023-08-07 06:16:30] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
  Execution halted