Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [7s/9s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(connector)
  > 
  > test_check("connector")
  {"time":"2025-05-01 01:19:17","type":"read","file":"test_file"}
  {"time":"2025-05-01 01:19:17","type":"write","file":"test_file"}
  {"time":"2025-05-01 01:19:17","type":"delete","file":"test_file"}
  == Executing scripts and generating logs =======================================
  > Executing scripts in parallel using 1 cores
  The following steps will be executed
  * Run single script
  
  -- Run single script -----------------------------------------------------------
  == End of process ==============================================================
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /Volumes/Builds/packages/big-sur-x86_64/results/4.5/connector.Rcheck/connector/demo_trial/adam
    and test2
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /Volumes/Builds/packages/big-sur-x86_64/results/4.5/connector.Rcheck/connector/demo_trial/adam
    and test2
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /Volumes/Builds/packages/big-sur-x86_64/results/4.5/connector.Rcheck/connector/demo_trial/adam
    and test2
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * demo_trial/adam and test2
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  i Replace some metadata informations...
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /Volumes/Builds/packages/big-sur-x86_64/results/4.5/connector.Rcheck/connector/demo_trial/adam
    and test_from_metadata
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  i Replace some metadata informations...
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /Volumes/Builds/packages/big-sur-x86_64/results/4.5/connector.Rcheck/connector/demo_trial/adam
    and test_from_metadata
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /Volumes/Builds/packages/big-sur-x86_64/results/4.5/connector.Rcheck/connector/demo_trial/adam
    and test2
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  [ FAIL 2 | WARN 1 | SKIP 4 | PASS 183 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-connect.R:34:3', 'test-connector.R:8:3',
    'test-utils_files.R:3:3'
  • postgres database not available (1): 'test-dbi.R:34:9'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-cnt_logger_integration.R:22:5'): ConnectorLogger integration test with whirl ──
  Expected `whirl::run("_whirl.yml")` to run without any errors.
  i Actually got a <simpleError> with text:
    cannot open the connection
  Backtrace:
      ▆
   1. ├─withr::with_dir(...) at test-cnt_logger_integration.R:21:3
   2. │ └─base::force(code)
   3. └─testthat::expect_no_error(whirl::run("_whirl.yml")) at test-cnt_logger_integration.R:22:5
  ── Failure ('test-cnt_logger_integration.R:26:5'): ConnectorLogger integration test with whirl ──
  length(list.files(".")) (`actual`) not equal to 5 (`expected`).
  
    `actual`: 3.0
  `expected`: 5.0
  Backtrace:
      ▆
   1. ├─withr::with_dir(...) at test-cnt_logger_integration.R:21:3
   2. │ └─base::force(code)
   3. └─testthat::expect_equal(length(list.files(".")), 5) at test-cnt_logger_integration.R:26:5
  
  [ FAIL 2 | WARN 1 | SKIP 4 | PASS 183 ]
  Error: Test failures
  Execution halted