- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘odbc/DESCRIPTION’ ... OK
- this is package ‘odbc’ version ‘1.6.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘odbc’ can be installed ... [20s/21s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
- used SDK: ‘MacOSX11.3.sdk’
- checking installed package size ... NOTE
installed size is 11.6Mb
sub-directories of 1Mb or more:
libs 10.6Mb
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking startup messages can be suppressed ... [1s/1s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s/3s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking include directives in Makefiles ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [4s/5s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [9s/10s] OK
- checking PDF version of manual ... [4s/5s] OK
- DONE
Status: 1 ERROR, 1 NOTE
- using check arguments '--no-clean-on-error '