- 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.5.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 ... [23s/25s] 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.4Mb
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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [3s/3s] ERROR
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [10s/11s] OK
- checking PDF version of manual ... [5s/5s] OK
- DONE
Status: 1 ERROR, 1 NOTE
- using check arguments '--no-clean-on-error '