- using R version 4.6.1 (2026-06-24)
- using platform: aarch64-apple-darwin23
- R was compiled by
Apple clang version 17.0.0 (clang-1700.3.19.1)
GNU Fortran (GCC) 14.2.0
- running under: macOS Sequoia 15.7.1
- using session charset: UTF-8
* current time: 2026-11-28 22:54:41 UTC
- checking for file ‘covr/DESCRIPTION’ ... OK
- this is package ‘covr’ version ‘4.0.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 ‘covr’ can be installed ... [3s/3s] OK
See the install log for details.
- used C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
- used SDK: ‘MacOSX14.5.sdk’
- 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 ... [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 C/C++/Fortran sources/headers ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [0s/0s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [83s/48s] ERROR
Running ‘testthat.R’ [83s/48s]
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(covr)
>
> test_check("covr")
Starting 2 test processes.
> test-box.R: [1] 3
> test-compiled.R: gcov output for ./f.gcno:
> test-compiled.R:
> test-compiled.R: gcov output for ./f.gcno:
> test-compiled.R: ./f.c.gcov
> test-shiny.R: Loading required package: shiny
> test-summary_functions.R: TestPrint Coverage: 66.67%
> test-summary_functions.R: R/TestPrint.R: 0.00%
> test-summary_functions.R: TestPrint Coverage: 0.00%
> test-summary_functions.R: R/TestPrint.R: 0.00%
> test-summary_functions.R: TestPrint Coverage: 0.00%
> test-summary_functions.R: TestPrint Coverage: 0.00%
> test-summary_functions.R: TestPrint Coverage: 66.67%
> test-package_coverage.R: * installing *source* package ‘TestS4’ ...
> test-package_coverage.R: ** this is package ‘TestS4’ version ‘0.0.0.9000’
> test-package_coverage.R: ** using non-staged installation
> test-package_coverage.R: ** R
> test-package_coverage.R: ** tests
> test-package_coverage.R: ** preparing package for lazy loading
> test-package_coverage.R: ** help
> test-package_coverage.R: *** installing help indices
> test-package_coverage.R: converting help for package ‘TestS4’
> test-package_coverage.R: a example
> test-package_coverage.R: ** building package indices
> test-package_coverage.R: ** testing if installed package can be loaded
> test-package_coverage.R: * DONE (TestS4)
> test-package_coverage.R: * installing *source* package ‘TestS4’ ...
> test-package_coverage.R: ** this is package ‘TestS4’ version ‘0.0.0.9000’
> test-package_coverage.R: ** using non-staged installation
> test-package_coverage.R: ** R
> test-package_coverage.R: ** tests
> test-package_coverage.R: ** byte-compile and prepare package for lazy loading
> test-package_coverage.R: ** help
> test-package_coverage.R: *** installing help indices
> test-package_coverage.R: converting help for package ‘TestS4’
> test-package_coverage.R: a example
> test-package_coverage.R: ** building package indices
> test-package_coverage.R: ** testing if installed package can be loaded
> test-package_coverage.R: * DONE (TestS4)
Saving _problems/test-trace_tests-410.R
[ FAIL 1 | WARN 0 | SKIP 147 | PASS 1478 ]
══ Skipped tests (147) ═════════════════════════════════════════════════════════
• On CRAN (147): 'test-S7.R:1:1', 'test-annotate_coverage.R:1:1',
'test-annotate_coverage.R:7:1', 'test-annotate_coverage.R:19:1',
'test-annotate_coverage.R:34:1', 'test-annotate_coverage.R:44:1',
'test-annotate_coverage.R:56:1', 'test-annotate_coverage.R:63:1',
'test-annotate_coverage.R:68:1', 'test-annotate_coverage.R:105:1',
'test-annotate_coverage.R:163:1', 'test-badge.R:1:1', 'test-badge.R:76:1',
'test-compiled.R:2:3', 'test-compiled.R:43:3', 'test-compiled.R:59:3',
'test-compiled.R:84:3', 'test-compiled.R:103:3', 'test-compiled.R:122:3',
'test-compiled.R:135:3', 'test-compiled.R:145:3', 'test-compiled.R:154:3',
'test-compiled.R:164:3', 'test-compiled.R:176:3', 'test-compiled.R:196:3',
'test-compiled.R:492:1', 'test-compiled.R:590:1', 'test-compiled.R:622:1',
'test-compiled.R:633:1', 'test-compiled.R:675:1', 'test-compiled.R:699:1',
'test-compiled_session.R:2:3', 'test-compiled_session.R:34:3',
'test-compiled_session.R:57:3', 'test-compiled_session.R:86:3',
'test-compiled_session.R:104:3', 'test-compiled_session.R:130:3',
'test-compiled_session.R:149:3', 'test-compiled_session.R:178:3',
'test-compiled_session.R:192:3', 'test-compiled_session.R:234:3',
'test-compiled_session.R:259:3', 'test-compiled_session.R:278:3',
'test-compiled_session.R:293:3', 'test-compiled_session.R:306:3',
'test-compiled_session.R:325:1', 'test-compiled_session.R:335:3',
'test-compiled_session.R:357:1', 'test-compiled_session.R:413:3',
'test-compiled_session.R:425:3', 'test-compiled_session.R:450:1',
'test-compiled_session.R:455:1', 'test-compiled_session.R:666:1',
'test-compiled_session.R:683:3', 'test-codecov.R:83:1',
'test-codecov.R:677:1', 'test-codecov.R:687:1', 'test-codecov.R:710:1',
'test-codecov.R:725:1', 'test-covr_error.R:45:1', 'test-deprecated.R:1:1',
'test-deprecated.R:26:1', 'test-display_name.R:1:1',
'test-coveralls.R:300:1', 'test-coveralls.R:328:1', 'test-exclusions.R:48:1',
'test-exclusions.R:71:1', 'test-exclusions.R:293:1', 'test-instrument.R:2:3',
'test-instrument.R:29:3', 'test-instrument.R:58:3', 'test-instrument.R:79:3',
'test-instrument.R:103:3', 'test-instrument.R:118:3',
'test-instrument.R:147:3', 'test-instrument.R:163:3',
'test-instrument.R:178:3', 'test-instrument.R:192:1',
'test-instrument.R:241:1', 'test-instrument.R:288:3',
'test-instrument.R:303:3', 'test-instrument.R:367:3',
'test-instrument.R:390:3', 'test-gitlab.R:23:1', 'test-merge.R:44:1',
'test-lcov.R:1:1', 'test-parallel.R:170:1', 'test-parallel.R:189:3',
'test-parse_data.R:2:3', 'test-report.R:373:1', 'test-report.R:444:1',
'test-report.R:453:1', 'test-report.R:604:1', 'test-report.R:625:1',
'test-report.R:632:1', 'test-report.R:643:1', 'test-rust.R:2:3',
'test-rust.R:19:3', 'test-rust.R:28:3', 'test-rust.R:43:1',
'test-rust.R:65:1', 'test-rust.R:89:1', 'test-rust.R:159:3',
'test-rust.R:298:1', 'test-rust.R:355:1', 'test-rust.R:386:1',
'test-shiny.R:1:1', 'test-shiny.R:77:1', 'test-shiny.R:188:1',
'test-shiny.R:227:3', 'test-shiny.R:253:3', 'test-shiny.R:282:3',
'test-summary_functions.R:77:3', 'test-summary_functions.R:95:1',
'test-summary_functions.R:112:1', 'test-summary_functions.R:237:1',
'test-summary_functions.R:280:1', 'test-summary_functions.R:294:1',
'test-summary_functions.R:313:1', 'test-summary_functions.R:336:1',
'test-summary_functions.R:355:1', 'test-summary_functions.R:391:1',
'test-summary_functions.R:440:1', 'test-summary_functions.R:468:1',
'test-system.R:51:1', 'test-system.R:71:1', 'test-system.R:86:1',
'test-trace_calls.R:173:3', 'test-trace_calls.R:399:1',
'test-trace_calls.R:703:1', 'test-trace_tests.R:57:1',
'test-trace_tests.R:292:3', 'test-package_coverage.R:1:1',
'test-package_coverage.R:5:1', 'test-package_coverage.R:13:1',
'test-package_coverage.R:195:1', 'test-package_coverage.R:241:1',
'test-package_coverage.R:269:1', 'test-package_coverage.R:353:1',
'test-package_coverage.R:430:1', 'test-utils.R:1:1', 'test-utils.R:35:3',
'test-utils.R:145:1', 'test-utils.R:191:1', 'test-utils.R:256:1',
'test-with_coverage.R:112:1', 'test-with_coverage.R:282:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-trace_tests.R:410:3'): covr.record_tests: doesn't record environments of functions in calls ──
Expected `unname(lapply(fns, environment))` to equal `rep(list(emptyenv()), 3)`.
Differences:
`actual` is length 0
`expected` is length 3
`actual[[1]]` is absent
`expected[[1]]` is an environment
`actual[[2]]` is absent
`expected[[2]]` is an environment
`actual[[3]]` is absent
`expected[[3]]` is an environment
[ FAIL 1 | WARN 0 | SKIP 147 | PASS 1478 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [5s/5s] OK
- checking PDF version of manual ... [4s/4s] OK
- DONE
Status: 1 ERROR