Running ‘testthat.R’ [6s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(shiny.telemetry)
  > 
  > test_check("shiny.telemetry")
  Saving _problems/test-data_storage-logfile-3.R
  Saving _problems/test-data_storage-sqlite-3.R
  Ran 2/2 deferred expressions
  [ FAIL 2 | WARN 0 | SKIP 34 | PASS 106 ]
  
  ══ Skipped tests (34) ══════════════════════════════════════════════════════════
  • On CRAN (34): 'test-data-storage-mariadb.R:3:1',
    'test-data-storage-mariadb.R:3:1', 'test-data-storage-mariadb.R:3:1',
    'test-data-storage-mariadb.R:3:1', 'test-data-storage-mariadb.R:3:1',
    'test-data-storage-mariadb.R:3:1', 'test-data-storage-mongodb.R:3:1',
    'test-data-storage-mongodb.R:3:1', 'test-data-storage-mongodb.R:3:1',
    'test-data-storage-mongodb.R:3:1', 'test-data-storage-mongodb.R:3:1',
    'test-data-storage-mongodb.R:3:1', 'test-data-storage-mssqlserver.R:3:1',
    'test-data-storage-mssqlserver.R:3:1', 'test-data-storage-mssqlserver.R:3:1',
    'test-data-storage-mssqlserver.R:3:1', 'test-data-storage-mssqlserver.R:3:1',
    'test-data-storage-mssqlserver.R:3:1', 'test-data-storage-postgresql.R:3:1',
    'test-data-storage-postgresql.R:3:1', 'test-data-storage-postgresql.R:3:1',
    'test-data-storage-postgresql.R:3:1', 'test-data-storage-postgresql.R:3:1',
    'test-data-storage-postgresql.R:3:1', 'test-data-storage-postgresql.R:8:1',
    'test-data-storage-postgresql.R:8:1', 'test-data-storage-postgresql.R:8:1',
    'test-data-storage-postgresql.R:8:1', 'test-data-storage-postgresql.R:8:1',
    'test-data-storage-postgresql.R:8:1', 'test-data_storage-plumber.R:17:3',
    'test-data_storage-plumber.R:83:3', 'test-data_storage-plumber.R:145:3',
    'test-telemetry-integration-plumber.R:4:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-data_storage-logfile.R:3:1'): LogFile Can write to database via DataStorage ──
  Expected `.` to equal 2.
  Differences:
    `actual`: 6.0
  `expected`: 2.0
  
  Backtrace:
      ▆
   1. ├─shiny.telemetry:::test_common_data_storage(data_storage, dashboard_name) at ./helper-data_storage.R:18:7
   2. │ └─... %>% expect_equal(2) at ./helper-data_storage.R:182:3
   3. └─testthat::expect_equal(., 2)
  ── Failure ('test-data_storage-sqlite.R:3:1'): SQLite Can write to database via DataStorage ──
  Expected `.` to equal 2.
  Differences:
    `actual`: 6.0
  `expected`: 2.0
  
  Backtrace:
      ▆
   1. ├─shiny.telemetry:::test_common_data_storage(data_storage, dashboard_name) at ./helper-data_storage.R:18:7
   2. │ └─... %>% expect_equal(2) at ./helper-data_storage.R:182:3
   3. └─testthat::expect_equal(., 2)
  
  [ FAIL 2 | WARN 0 | SKIP 34 | PASS 106 ]
  Error:
  ! Test failures.
  Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted