Running 'testthat.R' [12m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > pkg_name <- "teal"
  > library(pkg_name, character.only = TRUE)
  Loading required package: shiny
  Loading required package: teal.data
  Loading required package: teal.code
  Loading required package: teal.slice
  Registered S3 method overwritten by 'teal':
    method        from      
    c.teal_slices teal.slice
  
  You are using teal version 1.1.0
  
  Attaching package: 'teal'
  
  The following objects are masked from 'package:teal.slice':
  
      as.teal_slices, teal_slices
  
  > testthat::test_check(pkg_name)
  Saving _problems/test-module_session_info-21.R
  [ FAIL 1 | WARN 2 | SKIP 49 | PASS 557 ]
  
  ══ Skipped tests (49) ══════════════════════════════════════════════════════════
  • TODO (1): 'test-shinytest2-reporter.R:53:3'
  • need a fix in a .slicesGlobal (1): 'test-module_teal.R:1399:11'
  • testing depth 3 is below current testing specification 5 (44):
    'test-shinytest2-data_summary.R:2:3', 'test-shinytest2-data_summary.R:19:3',
    'test-shinytest2-data_summary.R:40:3', 'test-shinytest2-data_summary.R:59:3',
    'test-shinytest2-data_summary.R:84:3',
    'test-shinytest2-data_summary.R:122:3',
    'test-shinytest2-data_summary.R:137:3', 'test-shinytest2-decorators.R:5:3',
    'test-shinytest2-decorators.R:72:3', 'test-shinytest2-disable_report.R:2:1',
    'test-shinytest2-disable_src.R:2:1', 'test-shinytest2-filter_manager.R:5:3',
    'test-shinytest2-filter_panel.R:5:3', 'test-shinytest2-filter_panel.R:34:3',
    'test-shinytest2-filter_panel.R:70:3',
    'test-shinytest2-filter_panel.R:103:3', 'test-shinytest2-init.R:5:3',
    'test-shinytest2-init.R:18:3', 'test-shinytest2-init.R:75:3',
    'test-shinytest2-module_bookmark_manager.R:3:1',
    'test-shinytest2-modules.R:5:3', 'test-shinytest2-modules.R:44:3',
    'test-shinytest2-modules.R:62:3', 'test-shinytest2-modules.R:78:3',
    'test-shinytest2-reporter.R:5:3', 'test-shinytest2-reporter.R:18:3',
    'test-shinytest2-reporter.R:57:3', 'test-shinytest2-reporter.R:70:3',
    'test-shinytest2-show-rcode.R:4:1', 'test-shinytest2-snapshot_manager.R:2:3',
    'test-shinytest2-teal_data_module.R:28:3',
    'test-shinytest2-teal_data_module.R:40:3',
    'test-shinytest2-teal_data_module.R:52:3',
    'test-shinytest2-teal_data_module.R:64:3',
    'test-shinytest2-teal_data_module.R:77:3',
    'test-shinytest2-teal_data_module.R:89:3',
    'test-shinytest2-teal_data_module.R:102:3',
    'test-shinytest2-teal_data_module.R:114:3',
    'test-shinytest2-teal_data_module.R:132:3',
    'test-shinytest2-teal_data_module.R:160:3',
    'test-shinytest2-teal_data_module.R:194:3',
    'test-shinytest2-teal_modifiers.R:3:1', 'test-shinytest2-teal_slices.R:5:3',
    'test-shinytest2-teal_slices.R:50:3'
  • todo (3): 'test-module_teal.R:1662:5', 'test-module_teal.R:1698:5',
    'test-module_teal.R:1701:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-module_session_info.R:21:13'): srv_session_info lockfile / creation process is invoked for teal.lockfile.mode = "enabled" and snapshot is copied to teal_app.lock and removed after session ended ──
  Expected `file.exists(renv_filename)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Backtrace:
       ▆
    1. ├─withr::with_options(...) at test-module_session_info.R:8:5
    2. │ └─base::force(code)
    3. ├─shiny::testServer(...) at test-module_session_info.R:12:9
    4. │ ├─shiny:::withMockContext(...)
    5. │ │ ├─shiny::isolate(...)
    6. │ │ │ ├─shiny::..stacktraceoff..(...)
    7. │ │ │ └─ctx$run(...)
    8. │ │ │   ├─promises::with_promise_domain(...)
    9. │ │ │   │ └─domain$wrapSync(expr)
   10. │ │ │   ├─shiny::withReactiveDomain(...)
   11. │ │ │   │ └─promises::with_promise_domain(...)
   12. │ │ │   │   └─domain$wrapSync(expr)
   13. │ │ │   │     └─base::force(expr)
   14. │ │ │   ├─shiny:::with_otel_span_context(...)
   15. │ │ │   │ └─base::force(expr)
   16. │ │ │   ├─shiny::captureStackTraces(...)
   17. │ │ │   │ └─promises::with_promise_domain(...)
   18. │ │ │   │   └─domain$wrapSync(expr)
   19. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
   20. │ │ │   └─env$runWith(self, func)
   21. │ │ │     └─shiny (local) contextFunc()
   22. │ │ │       └─shiny::..stacktraceon..(expr)
   23. │ │ ├─shiny::withReactiveDomain(...)
   24. │ │ │ └─promises::with_promise_domain(...)
   25. │ │ │   └─domain$wrapSync(expr)
   26. │ │ │     └─base::force(expr)
   27. │ │ └─withr::with_options(...)
   28. │ │   └─base::force(code)
   29. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
   30. └─testthat::expect_true(file.exists(renv_filename)) at test-module_session_info.R:21:13
  
  [ FAIL 1 | WARN 2 | SKIP 49 | PASS 557 ]
  Deleting unused snapshots: 'linux-4.5/shinytest2-init/teal-001.png',
  'linux-4.5/shinytest2-wunder_bar/teal-001.png', and
  'windows-4.5/shinytest2-init/teal-001.png'
  Error:
  ! Test failures.
  Execution halted