- using R version 4.5.1 (2025-06-13)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-8) 14.3.0
GNU Fortran (Debian 14.3.0-8) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘testthat/DESCRIPTION’ ... OK
- this is package ‘testthat’ version ‘3.2.3’
- 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 ‘testthat’ can be installed ... OK
See the install log for details.
- used C compiler: ‘gcc-14 (Debian 14.3.0-8) 14.3.0’
- used C++ compiler: ‘g++-14 (Debian 14.3.0-8) 14.3.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/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 use of S3 registration ... 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 ... [18s/23s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 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 use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... NOTE
File ‘testthat/libs/testthat.so’:
Found non-API calls to R: ‘BODY’, ‘CLOENV’, ‘FORMALS’, ‘SET_BODY’,
‘SET_CLOENV’, ‘SET_FORMALS’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [109s/76s] ERROR
Running ‘test-catch.R’ [29s/38s]
Running ‘testthat.R’ [80s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("testthat")
Starting 2 test processes
[ FAIL 2 | WARN 0 | SKIP 131 | PASS 944 ]
══ Skipped tests (131) ═════════════════════════════════════════════════════════
• On CRAN (127): 'test-parallel-crash.R:2:3', 'test-watcher.R:40:3',
'test-deprec-condition.R:2:3', 'test-describe.R:23:5', 'test-edition.R:14:3',
'test-expect-condition.R:8:3', 'test-expect-condition.R:19:3',
'test-expect-condition.R:38:3', 'test-expect-condition.R:56:3',
'test-expect-condition.R:160:3', 'test-expect-condition.R:227:3',
'test-expect-constant.R:7:3', 'test-expect-constant.R:18:3',
'test-expect-constant.R:30:3', 'test-expect-equality.R:71:3',
'test-expect-inheritance.R:23:3', 'test-expect-inheritance.R:42:3',
'test-expect-inheritance.R:49:3', 'test-expect-inheritance.R:68:3',
'test-expect-inheritance.R:75:3', 'test-expect-invisible.R:11:3',
'test-expect-known.R:45:3', 'test-expect-no-condition.R:5:3',
'test-expect-no-condition.R:53:3', 'test-expect-setequal.R:33:3',
'test-expect-setequal.R:44:3', 'test-expect-setequal.R:105:3',
'test-expect-setequal.R:123:3', 'test-local.R:35:3', 'test-local.R:44:3',
'test-mock.R:2:3', 'test-mock2.R:45:3', 'test-mock2.R:76:3',
'test-quasi-label.R:22:3', 'test-quasi-label.R:51:3',
'test-reporter-check.R:3:3', 'test-reporter-check.R:12:3',
'test-reporter-check.R:18:3', 'test-reporter-check.R:27:3',
'test-reporter-debug.R:12:3', 'test-reporter-junit.R:2:3',
'test-reporter-location.R:2:3', 'test-reporter-minimal.R:2:3',
'test-reporter-rstudio.R:2:3', 'test-reporter-silent.R:3:3',
'test-reporter-stop.R:2:3', 'test-reporter-stop.R:6:3',
'test-reporter-summary.R:2:3', 'test-reporter-summary.R:7:3',
'test-reporter-tap.R:2:3', 'test-reporter-progress.R:4:3',
'test-reporter-progress.R:11:3', 'test-reporter-progress.R:27:3',
'test-reporter-progress.R:34:3', 'test-reporter-progress.R:46:3',
'test-reporter-progress.R:53:3', 'test-reporter-progress.R:62:3',
'test-reporter-progress.R:69:3', 'test-reporter-teamcity.R:2:3',
'test-reporter.R:9:3', 'test-skip.R:2:3', 'test-skip.R:35:3',
'test-skip.R:43:3', 'test-skip.R:50:3', 'test-skip.R:59:3',
'test-skip.R:77:3', 'test-skip.R:85:3', 'test-skip.R:92:3',
'test-skip.R:100:3', 'test-skip.R:109:3', 'test-skip.R:115:3',
'test-skip.R:121:3', 'test-skip.R:133:3', 'test-snapshot-cleanup.R:3:3',
'test-snapshot-manage.R:4:3', 'test-snapshot-manage.R:12:3',
'test-snapshot-manage.R:29:3', 'test-snapshot-file.R:3:3',
'test-snapshot-file.R:43:3', 'test-snapshot-file.R:50:3',
'test-snapshot-file.R:63:3', 'test-snapshot-file.R:88:3',
'test-snapshot-file.R:161:3', 'test-snapshot-value.R:3:3',
'test-snapshot-value.R:10:3', 'test-snapshot-value.R:18:3',
'test-snapshot-value.R:44:3', 'test-snapshot-reporter.R:16:3',
'test-snapshot-reporter.R:45:3', 'test-snapshot-reporter.R:81:3',
'test-snapshot-reporter.R:104:3', 'test-snapshot-reporter.R:118:3',
'test-source.R:44:3', 'test-source.R:62:3', 'test-source.R:71:3',
'test-source.R:83:3', 'test-snapshot.R:2:3', 'test-snapshot.R:7:3',
'test-snapshot.R:20:3', 'test-snapshot.R:30:3', 'test-snapshot.R:35:3',
'test-snapshot.R:39:3', 'test-snapshot.R:55:3', 'test-snapshot.R:67:3',
'test-snapshot.R:76:3', 'test-snapshot.R:82:3', 'test-snapshot.R:89:3',
'test-snapshot.R:100:3', 'test-snapshot.R:110:3', 'test-snapshot.R:114:3',
'test-snapshot.R:119:3', 'test-snapshot.R:126:3', 'test-snapshot.R:138:3',
'test-snapshot.R:147:3', 'test-snapshot.R:165:3', 'test-snapshot.R:174:5',
'test-test-env.R:23:3', 'test-test-path.R:44:3', 'test-test-state.R:2:3',
'test-test-state.R:10:3', 'test-verify-output.R:2:3',
'test-verify-output.R:23:3', 'test-verify-output.R:47:3',
'test-verify-output.R:55:3', 'test-verify-output.R:65:3',
'test-verify-output.R:82:3', 'test-test-files.R:18:3'
• empty test (1): 'test-snapshot.R:171:1'
• file.exists(rd_path) is not TRUE (2): 'test-test-example.R:3:3',
'test-test-example.R:11:3'
• teardown errors are ignored (1): 'test-parallel-teardown.R:3:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-parallel-setup.R:12:3'): error in parallel setup code ────────
`err` inherits from 'no_such_process'/'ps_error'/'error'/'condition' not 'testthat_process_error'.
── Failure ('test-parallel-setup.R:13:3'): error in parallel setup code ────────
err$message does not match "Error in setup".
Actual value: "Failed to send signal to: 142890 (???)"
Backtrace:
▆
1. └─testthat::expect_match(err$message, "Error in setup", fixed = TRUE) at test-parallel-setup.R:13:3
2. └─testthat:::expect_match_(...)
[ FAIL 2 | WARN 0 | SKIP 131 | PASS 944 ]
Deleting unused snapshots:
• R4.0/snapshot-file/version.txt
• R4.1/snapshot-file/version.txt
• R4.2/snapshot-file/version.txt
• R4.3/snapshot-file/version.txt
• R4.4/snapshot-file/version.txt
• snapshot-file/a.txt
• snapshot-file/foo.csv
• snapshot-file/foo.png
• snapshot-file/foo.r
• snapshot-file/secret.txt
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [18s/26s] OK
- checking PDF version of manual ... [10s/12s] OK
- checking HTML version of manual ... [4s/7s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE