R version 4.6.0 beta (2026-04-15 r89885 ucrt) -- "Because it was There" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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(test.assessr) > > test_check("test.assessr") running code coverage for test.package.0001 running code coverage for test.package.0001 code coverage for test.package.0001 successful running code coverage for test.package.0001 Total coverage returned NaN. This likely means the package had non-standard characteristics. R coverage for test.package.0001 failed. Read in the covr output to see what went wrong: running code coverage for test.package.0002 running code coverage for test.package.0002 Total coverage returned NaN. This likely means the package had non-standard characteristics. R coverage for test.package.0002 failed. Read in the covr output to see what went wrong: running code coverage for test.package.0003 code coverage for test.package.0003 unsuccessful running code coverage for test.package.0003 R coverage for test.package.0003 failed. Read in the covr output to see what went wrong: running code coverage for test.package.0004 code coverage for test.package.0004 unsuccessful R coverage for test.package.0004 failed. Read in the covr output to see what went wrong: running code coverage for test.package.0004 code coverage for test.package.0004 successful R coverage for test.package.0004 had notes: no testable functions found running code coverage for test.package.0004 R coverage for test.package.0004 had notes: no testable functions found running code coverage for test.package.0004 code coverage for test.package.0004 successful running code coverage for tempPkg151dc2358609a code coverage for tempPkg151dc2358609a unsuccessful running code coverage for tempPkg151dc2358609a R coverage for tempPkg151dc2358609a failed. Read in the covr output to see what went wrong: unpacking D:\temp\2026 locally unpacked D:\temp\2026 locally installing test.package.0001 locally test.package.0001 installed locally installing invalidPackage locally installing mock locally mock_package installed locally mock installed locally installing non locally No such file or directory: non_existent_directory installing mock locally mock is already installed Installing package into 'D:/temp/2026_04_16_13_35_17_21606/Rtmpwd3MkL/RLIBS_191bc6e5a738c' (as 'lib' is unspecified) Installing package into 'D:/temp/2026_04_16_13_35_17_21606/Rtmpwd3MkL/RLIBS_191bc6e5a738c' (as 'lib' is unspecified) Installing package into 'D:/temp/2026_04_16_13_35_17_21606/Rtmpwd3MkL/RLIBS_191bc6e5a738c' (as 'lib' is unspecified) running code coverage for test.pkg running code coverage for empty.pkg code coverage for empty.pkg successful running code coverage for failing.pkg R coverage for failing.pkg failed. Read in the covr output to see what went wrong: running code coverage for weird.pkg code coverage for weird.pkg unsuccessful R coverage for weird.pkg failed. Read in the covr output to see what went wrong: Cleaning coverage workspace for mockpkg No safe roots found for orphan cleanup; skipping. Package mockpkg is not installed; skipping installed datasets. Package fakepkg is not installed; skipping installed datasets. No safe roots found for orphan cleanup; skipping. No safe roots found for orphan cleanup; skipping. decider: testthat -> run_coverage() Cleaning coverage workspace for mockpkg running non-standard Bioconductor testing framework Cleaning coverage workspace for mockpkg No safe roots found for orphan cleanup; skipping. decider: testthat -> run_coverage() running skip testing with standard testing framework Cleaning coverage workspace for mockpkg running non-standard testing framework Cleaning coverage workspace for mockpkg No safe roots found for orphan cleanup; skipping. No recognised standard or non-standard testing configuration No recognised standard or non-standard testing configuration No recognised standard or non-standard testing configuration No recognised standard or non-standard testing configuration Unloading mockpkg package to avoid coverage conflict... Details: mock error Unloading mockpkg package to avoid coverage conflict... Warning: Failed to unload mockpkg package. Proceeding anyway. Package fakepkg is not installed; skipping installed datasets. Package fakepkg is not installed; skipping installed datasets. [1] "new_var" Removed new globals: [1] "temp_data" [1] "dry_var" Setting up coverage environment for: mockpkg Loading helpers into coverage environment for: mockpkg Loading package into coverage environment for: mockpkg Locating project root for: mockpkg Loading package datasets into coverage environment for: mockpkg Loading Base R packages into coverage environment Loading optional nycflights13 datasets into coverage environment Datasets loaded: data1, data2, datasets::mtcars, datasets::iris, flights Base R exports loaded: 2 Loading dependencies into coverage environment for: mockpkg Note: `rnorm` was not loaded into cov_env. Note: `mtcars` was not loaded into cov_env. Note: `iris` was not loaded into cov_env. Unloading package: mockpkg running non-standard tinytest testing framework Cleaning coverage workspace for mockpkg running non-standard data.table testing framework Cleaning coverage workspace for mockpkg running non-standard RUnit testing framework decider: no explicit driver found for testit -> default run_covr_skip_nstf() performing source test mapping for D:\temp\2026 decider: testit driver/structure detected -> run_covr_skip_nstf() decider: testthat-style driver/structure detected -> run_coverage() performing source test mapping for mypkg [RUnit] preparing package before running tests... identifying problem tests for mypkg Datasets loaded: running coverage manually for mypkg Total Coverage for mypkg is: 0.5% Approx total coverage: (75.00%), counts: tested_functions=1, untested_functions=1, skipped_tests=0 No safe roots found for orphan cleanup; skipping. performing source test mapping for mypkg performing source test mapping for mypkg [RUnit] preparing package before running tests... data.table: MIRROR mode -> copying inst/tests/* -> tests/ to satisfy test.data.table() data.table: tests/main.R not found; will rely on wrapper selection. data.table: tests/main.R not found; will rely on wrapper selection. data.table: tests/main.R not found; will rely on wrapper selection. loading package and datasets for data.table running coverage manually for data.table Total Coverage for data.table is: 97.82% Approx total coverage: (97.82%), counts: tested_files=1, untested_functions=39, skipped_tests=2 loading package and datasets for data.table running coverage manually for data.table performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: dataset1 running coverage manually for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: running coverage manually for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Error loading package or datasets for mockpkg : DESCRIPTION file not found at: D:\temp\2026_04_16_13_35_17_21606\Rtmpmcbaf6/mockpkg/DESCRIPTION No safe roots found for orphan cleanup; skipping. running coverage manually for mockpkg No env coverage generated. Falling back to covr::package_coverage(type = 'tests'). package_coverage() failed: 'D:/temp/2026_04_16_13_35_17_21606/Rtmpmcbaf6/mockpkg' does not contain a package! No safe roots found for orphan cleanup; skipping. performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Error loading package or datasets for mockpkg : DESCRIPTION file not found at: D:\temp\2026_04_16_13_35_17_21606\Rtmpmcbaf6/mockpkg/DESCRIPTION No safe roots found for orphan cleanup; skipping. running coverage manually for mockpkg No env coverage generated. Falling back to covr::package_coverage(type = 'tests'). No safe roots found for orphan cleanup; skipping. performing source test mapping for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Error loading package or datasets for mockpkg : DESCRIPTION file not found at: D:\temp\2026_04_16_13_35_17_21606\Rtmpmcbaf6/mockpkg/DESCRIPTION No safe roots found for orphan cleanup; skipping. running coverage manually for mockpkg No env coverage generated. Falling back to covr::package_coverage(type = 'tests'). No safe roots found for orphan cleanup; skipping. performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: dataset1 running tinytest coverage for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: running tinytest coverage for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: running tinytest coverage for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: running tinytest coverage for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: running tinytest coverage for mypkg running tinytest coverage for mypkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: running tinytest coverage for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: running tinytest coverage for mockpkg performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Loading dependencies into coverage environment for: mockpkg Loading Base R packages into coverage environment Datasets loaded: running coverage manually for mockpkg Approx total coverage: (72.35%), counts: tested_files=4, untested_functions=1, skipped_tests=2 Total Coverage for mockpkg is: 0% Approx total coverage: (0.00%), counts: tested_files=1, untested_functions=1, skipped_tests=0 performing source test mapping for mypkg [RUnit] preparing package before running tests... identifying problem tests for mypkg Datasets loaded: running coverage manually for mypkg Using custom runner for mypkg (1 test files) Total Coverage for mypkg is: 0.5% Approx total coverage: (75.00%), counts: tested_functions=1, untested_functions=1, skipped_tests=0 No safe roots found for orphan cleanup; skipping. performing source test mapping for mypkg performing source test mapping for mypkg [RUnit] preparing package before running tests... Starting reporter process for mockpkg Mapping package test structure for mockpkg Creating skip test map for mockpkg Creating test coverage for mockpkg Starting reporter process for mockpkg Mapping package test structure for mockpkg Creating test results for no skipped tests for mockpkg Setting up coverage environment for : mockpkg No helper files were loaded. Identifying test lines to skip for : mockpkg Preparing test files to check for : mockpkg Running environment coverage for mockpkg Removing new globals from environment for mockpkg No new globals detected. Cleaning up environment for mockpkg No safe roots found for orphan cleanup; skipping. Loading datasets used in testing: iris, mtcars Running coverage manually for mockpkg Creating package coverage for fakepkg Creating package coverage for mockpkg No test coverage for this configuration Creating test reporter for: mockpkg Creating test reporter for: mockpkg Error running tests for mockpkg : Simulated error Creating failing tests reporter for: mockpkg Creating failing tests reporter for: mockpkg Setting up coverage environment for : dummyPkg Setting up coverage environment for : dummyPkg Setting up coverage environment for : dummyPkg Setting up coverage environment for : dummyPkg No helper files were loaded. Identifying test lines to skip for : dummyPkg Preparing test files to check for : dummyPkg Running environment coverage for dummyPkg Removing new globals from environment for dummyPkg Cleaning up environment for dummyPkg unpacking D:\temp\2026 locally unpacked D:\temp\2026 locally checking package test config checking package test config checking package test config checking package test config checking package test config checking package test config checking package test config unpacking D:\temp\2026 locally unpacked D:\temp\2026 locally unpacking D:\temp\2026 locally not able to unpack D:\temp\2026 locally unpacking here locally unpacked here locally unpacking MASS locally unpacked MASS locally [ FAIL 0 | WARN 0 | SKIP 14 | PASS 2127 ] ══ Skipped tests (14) ══════════════════════════════════════════════════════════ • Could not make directory non-writable on this platform; skipping. (1): 'test-run_covr_skip_stf.R:1346:5' • On CRAN (9): 'test-generate_test_report.R:273:3', 'test-generate_test_report.R:296:3', 'test-get_package_coverage.R:2:3', 'test-get_package_coverage.R:67:3', 'test-get_package_coverage.R:86:3', 'test-get_package_coverage.R:124:3', 'test-get_package_coverage.R:188:3', 'test-run_covr_skip_stf.R:222:3', 'test-run_covr_skip_stf.R:334:3' • Skipped on Windows: this test exercises POSIX-specific behaviour where R_TESTS must be set to '' then restored. Windows environment handling (cmd.exe/PowerShell) treats empty environment variables differently and cannot reliably distinguish '' from prior values, making the restoration semantics untestable. (1): 'test-run_covr_skip_runit_nstf.R:811:3' • Skipped on Windows: this test exercises POSIX-specific behaviour where R_TESTS must be set to '' then restored. Windows environment handling cannot reliably distinguish empty vs unset values. (1): 'test-run_covr_skip_bioc_nstf.R:568:3' • Skipped on Windows: this test exercises the POSIX-only behaviour of prepare_for_bioc_runit where R_TESTS is set to '' and restored to UNSET. Windows does not reliably distinguish empty vs UNSET environment variables. (2): 'test-run_covr_skip_bioc_nstf.R:524:3', 'test-run_covr_skip_runit_nstf.R:774:3' [ FAIL 0 | WARN 0 | SKIP 14 | PASS 2127 ] >