Running ‘testthat.R’ [3s/3s]
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(odbc)
  > 
  > test_check("odbc")
  [ FAIL 1 | WARN 0 | SKIP 72 | PASS 77 ]
  
  ══ Skipped tests (72) ══════════════════════════════════════════════════════════
  • On CRAN (70): 'test-dbi-connection.R:8:3', 'test-dbi-connection.R:17:3',
    'test-dbi-connection.R:26:3', 'test-dbi-connection.R:30:3',
    'test-driver-databricks.R:36:3', 'test-driver-databricks.R:41:3',
    'test-driver-databricks.R:63:3', 'test-driver-databricks.R:75:3',
    'test-driver-databricks.R:108:3', 'test-driver-mysql.R:2:3',
    'test-driver-mysql.R:87:3', 'test-driver-mysql.R:91:3',
    'test-driver-mysql.R:102:3', 'test-driver-oracle.R:2:3',
    'test-driver-oracle.R:13:3', 'test-driver-postgres.R:2:3',
    'test-driver-postgres.R:98:3', 'test-driver-postgres.R:104:3',
    'test-driver-postgres.R:112:3', 'test-driver-postgres.R:136:3',
    'test-driver-postgres.R:155:3', 'test-driver-snowflake.R:12:3',
    'test-driver-snowflake.R:60:3', 'test-driver-snowflake.R:84:3',
    'test-driver-snowflake.R:103:3', 'test-driver-snowflake.R:145:3',
    'test-driver-sql-server.R:2:3', 'test-driver-sql-server.R:85:3',
    'test-driver-sql-server.R:121:3', 'test-driver-sql-server.R:134:3',
    'test-driver-sql-server.R:143:3', 'test-driver-sql-server.R:151:3',
    'test-driver-sql-server.R:173:3', 'test-driver-sql-server.R:194:3',
    'test-driver-sql-server.R:221:3', 'test-driver-sql-server.R:232:3',
    'test-driver-sql-server.R:238:3', 'test-driver-sql-server.R:248:3',
    'test-driver-sql-server.R:258:3', 'test-driver-sql-server.R:268:3',
    'test-driver-sql-server.R:290:3', 'test-driver-sqlite.R:2:3',
    'test-driver-sqlite.R:134:3', 'test-driver-sqlite.R:144:3',
    'test-driver-sqlite.R:155:3', 'test-driver-sqlite.R:170:3',
    'test-driver-sqlite.R:185:3', 'test-odbc-config.R:25:3',
    'test-odbc-config.R:33:3', 'test-odbc-connection.R:17:3',
    'test-odbc-connection.R:24:3', 'test-odbc-connection.R:32:3',
    'test-odbc-connection.R:64:3', 'test-odbc-connection.R:69:3',
    'test-odbc-connection.R:85:3', 'test-odbc-connection.R:90:3',
    'test-odbc-data-sources.R:2:3', 'test-odbc-drivers.R:2:3',
    'test-odbc-drivers.R:11:3', 'test-utils.R:2:3', 'test-utils.R:22:3',
    'test-utils.R:49:3', 'test-utils.R:56:3', 'test-utils.R:65:3',
    'test-utils.R:87:3', 'test-utils.R:94:3', 'test-utils.R:103:3',
    'test-utils.R:112:3', 'test-utils.R:135:3', 'test-utils.R:150:3'
  • Secret ODBC_PWD_SNOWFLAKE not available. (2): 'test-driver-snowflake.R:4:5',
    'test-driver-snowflake.R:154:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-utils.R:144:3'): locate_install_unixodbc() returns reasonable values ──
  file.exists(res[1]) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 0 | SKIP 72 | PASS 77 ]
  Error: Test failures
  Execution halted