Running ‘testthat.R’ [7s/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/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 81 | PASS 95 ]
  
  ══ Skipped tests (81) ══════════════════════════════════════════════════════════
  • On CRAN (79): '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-dbi-connection.R:43:3', 'test-driver-databricks.R:36:3',
    'test-driver-databricks.R:43:3', 'test-driver-databricks.R:65:3',
    'test-driver-databricks.R:77:3', 'test-driver-databricks.R:110:3',
    'test-driver-databricks.R:160:3', 'test-driver-mysql.R:2:3',
    'test-driver-mysql.R:89:3', 'test-driver-mysql.R:93:3',
    'test-driver-mysql.R:104:3', 'test-driver-oracle.R:2:3',
    'test-driver-oracle.R:73:3', 'test-driver-oracle.R:85:3',
    'test-driver-oracle.R:96:3', 'test-driver-postgres.R:2:3',
    'test-driver-postgres.R:101:3', 'test-driver-postgres.R:107:3',
    'test-driver-postgres.R:115:3', 'test-driver-postgres.R:139:3',
    'test-driver-postgres.R:158:3', 'test-driver-snowflake.R:12:3',
    'test-driver-snowflake.R:60:3', 'test-driver-snowflake.R:104:3',
    'test-driver-snowflake.R:116:3', 'test-driver-snowflake.R:145:3',
    'test-driver-snowflake.R:187:3', 'test-driver-sql-server.R:2:3',
    'test-driver-sql-server.R:86:3', 'test-driver-sql-server.R:122:3',
    'test-driver-sql-server.R:135:3', 'test-driver-sql-server.R:144:3',
    'test-driver-sql-server.R:152:3', 'test-driver-sql-server.R:174:3',
    'test-driver-sql-server.R:195:3', 'test-driver-sql-server.R:222:3',
    'test-driver-sql-server.R:233:3', 'test-driver-sql-server.R:241:3',
    'test-driver-sql-server.R:251:3', 'test-driver-sql-server.R:261:3',
    'test-driver-sql-server.R:271:3', 'test-driver-sql-server.R:293:3',
    'test-driver-sql-server.R:365:3', 'test-driver-sql-server.R:378:3',
    'test-driver-sqlite.R:2:3', 'test-driver-sqlite.R:133:3',
    'test-driver-sqlite.R:143:3', 'test-driver-sqlite.R:154:3',
    'test-driver-sqlite.R:169:3', 'test-driver-sqlite.R:184:3',
    'test-odbc-config.R:25:3', 'test-odbc-config.R:33:3',
    'test-odbc-config.R:42: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:113:3', 'test-utils.R:120:3', 'test-utils.R:129:3',
    'test-utils.R:138:3', 'test-utils.R:161:3', 'test-utils.R:186:3',
    'test-utils.R:220:3'
  • Secret SNOWFLAKE_PRIVATE_KEY not available. (1):
    'test-driver-snowflake.R:4:5'
  • Sys.getenv("ODBC_DRIVERS_VINTAGE") != "OEM" is TRUE (1):
    'test-driver-sql-server.R:338:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-utils.R:180:3'): locate_install_unixodbc() returns reasonable values ──
  file.exists(res[1]) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 0 | SKIP 81 | PASS 95 ]
  Error: Test failures
  Execution halted