- using R version 4.5.0 beta (2025-03-29 r88074)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘withr/DESCRIPTION’ ... OK
- this is package ‘withr’ version ‘3.0.2’
- 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 ‘withr’ can be installed ... [2s/2s] OK
See the install log for details.
- checking installed package size ... OK
- 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 code 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 whether startup messages can be suppressed ... [0s/0s] 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 ... [2s/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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] ERROR
Running examples in ‘withr-Ex.R’ failed
The error most likely occurred in:
> ### Name: with_db_connection
> ### Title: DBMS Connections which disconnect themselves.
> ### Aliases: with_db_connection local_db_connection
>
> ### ** Examples
>
> db <- tempfile()
> with_db_connection(
+ list(con = DBI::dbConnect(RSQLite::SQLite(), db)), {
+ DBI::dbWriteTable(con, "mtcars", mtcars)
+ })
Error in loadNamespace(x) : there is no package called ‘pkgconfig’
Calls: with_db_connection ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[1] "two"
[1] "one"
Ran 2/2 deferred expressions
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/11s] ERROR
Running ‘testthat.R’ [7s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(withr)
>
> test_check("withr")
[ FAIL 0 | WARN 0 | SKIP 5 | PASS 376 ]
══ Skipped tests (5) ═══════════════════════════════════════════════════════════
Error in base::nchar(wide_chars$test, type = "width") :
cannot open file '/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/cli/R/sysdata.rdb': No such file or directory
Calls: test_check ... unicode_pre -> setup_unicode_width_fix -> <Anonymous>
Execution halted
No deferred expressions to run
No deferred expressions to run
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [11s/15s] OK
- checking PDF version of manual ... [6s/9s] OK
- DONE
Status: 2 ERRORs
- using check arguments '--no-clean-on-error '