Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [31s/33s]
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-03 15:07:47","type":"read","file":"test_file"}
  {"time":"2025-05-03 15:07:48","type":"write","file":"test_file"}
  {"time":"2025-05-03 15:07:48","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 -----------------------------------------------------------
  v example.R: Completed succesfully
  
  == End of process ==============================================================
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/connector/demo_trial/adam
    and test2
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/connector/demo_trial/adam
    and test2
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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
  * /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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
  * /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/connector/demo_trial/adam
    and test_from_metadata
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  --------------------------------------------------------------------------------
  Connection to:
  > adam
  * connector_fs
  * /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/connector/demo_trial/adam
    and test2
  --------------------------------------------------------------------------------
  Connection to:
  > sdtm
  * connector_dbi
  * RSQLite::SQLite() and :memory:
  [ FAIL 3 | WARN 0 | SKIP 4 | PASS 182 ]
  
  ══ 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-connect.R:14:5'): Connect datasources to the connections for a yaml file ──
  Expected `cnts$adam$write_cnt(data.frame(a = 1:10, b = 11:20), "example.csv")` to run without any errors.
  i Actually got a <simpleError> with text:
    Cannot open file for writing:
    * '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/connector/demo_trial/adam/example.csv'
  Backtrace:
      ▆
   1. ├─withr::with_options(...) at test-connect.R:9:3
   2. │ └─base::force(code)
   3. └─testthat::expect_no_error(...) at test-connect.R:14:5
  ── Failure ('test-connect.R:17:5'): Connect datasources to the connections for a yaml file ──
  Expected `cnts$adam$read_cnt("example.csv")` to run without any errors.
  i Actually got a <simpleError> with text:
    No file found or multiple files found with the same name
  Backtrace:
      ▆
   1. ├─withr::with_options(...) at test-connect.R:9:3
   2. │ └─base::force(code)
   3. └─testthat::expect_no_error(cnts$adam$read_cnt("example.csv")) at test-connect.R:17:5
  ── Failure ('test-connect.R:18:5'): Connect datasources to the connections for a yaml file ──
  Expected `cnts$adam$remove_cnt("example.csv")` to run without any errors.
  i Actually got a <EROFS> with text:
    [EROFS] Failed to remove '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/connector/demo_trial/adam/example.csv': read-only file system
  Backtrace:
      ▆
   1. ├─withr::with_options(...) at test-connect.R:9:3
   2. │ └─base::force(code)
   3. └─testthat::expect_no_error(cnts$adam$remove_cnt("example.csv")) at test-connect.R:18:5
  
  [ FAIL 3 | WARN 0 | SKIP 4 | PASS 182 ]
  Error: Test failures
  Execution halted