* using log directory 'd:/RCompile/CRANincoming/R-devel/test.assessr.Rcheck' * using R Under development (unstable) (2026-01-29 r89354 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'test.assessr/DESCRIPTION' ... OK * this is package 'test.assessr' version '1.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Edward Gillian ' New submission Found the following (possibly) invalid URLs: URL: https://github.com/Sanofi-GitHub/test.assessr From: README.md Status: 404 Message: Not Found URL: https://github.com/Sanofi-GitHub/test.assessr/actions/workflows/R-CMD-check.yaml From: README.md Status: 404 Message: Not Found URL: https://github.com/Sanofi-GitHub/test.assessr/actions/workflows/test-coverage.yaml From: README.md Status: 404 Message: Not Found URL: https://github.com/Sanofi-GitHub/test.assessr/issues From: DESCRIPTION Status: 404 Message: Not Found * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'test.assessr' can be installed ... OK * checking installed package size ... OK * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [26s] ERROR Running 'testthat.R' [25s] 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(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 tempPkg46002301707b code coverage for tempPkg46002301707b unsuccessful running code coverage for tempPkg46002301707b R coverage for tempPkg46002301707b failed. Read in the covr output to see what went wrong: Rendering report for pkg Rendering report for pkg Saving _problems/test-generate_test_report-651.R 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 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: running standard testing framework running skip testing with non-standard testing framework Project root not found. Package fakepkg is not installed. Project root not found. Project root not found. running standard testing framework Project root not found. running standard testing framework running skip testing with standard testing framework Project root not found. running non-standard testing framework Project root not found. No recognised standard or non-standard testing configuration Project root not found. No recognised standard or non-standard testing configuration Project root not found. No recognised standard or non-standard testing configuration Project root not found. Unloading mockpkg package to avoid coverage conflict... Details: Simulated unload failure No recognised standard or non-standard testing configuration Unloading mockpkg package to avoid coverage conflict... Warning: Failed to unload mockpkg package. Proceeding anyway. 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. Test message Test message [1] "new_var" Removed new globals: [1] "temp_data" [1] "dry_var" Installed version of stats (4.6.0) does not satisfy constraint Failed to install package: stats - couldn't find package 'stats' Installed version of utils (4.6.0) does not satisfy constraint Failed to install package: utils - couldn't find package 'utils' Failed to load package: pkgX - load error Failed to install package: pkgX - couldn't find package 'pkgX' Setting up coverage environment for: mockpkg Special helper file created: tests/testthat/helper_covr_env.R Loading helpers into coverage environment for: mockpkg Loading package into coverage environment for: mockpkg Locating project root for: mockpkg Loading datasets into coverage environment for: mockpkg Datasets loaded: data1, data2 Loading dependencies into coverage environment for: mockpkg Unloading package: mockpkg performing source test mapping for mypkg [BioC 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 Project root not found. performing source test mapping for mypkg performing source test mapping for mypkg [BioC RUnit] preparing package before running tests... performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Datasets loaded: dataset1 running coverage manually for mockpkg Total Coverage for mockpkg is: 80% Approx total coverage: (80.00%), counts: tested_files=0, untested_functions=1, skipped_tests=1 performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Datasets loaded: running coverage manually for mockpkg Total Coverage for mockpkg is: 100% Approx total coverage: (100.00%), counts: tested_files=1, untested_functions=0, skipped_tests=0 performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Datasets loaded: running coverage manually for mockpkg No test coverage for this configuration performing source test mapping for mockpkg identifying problem tests for mockpkg loading package and datasets for mockpkg Datasets loaded: running coverage manually for mockpkg Total Coverage for mockpkg is: NA% Approx total coverage: (NA%), counts: tested_files=1, untested_functions=0, skipped_tests=0 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 Datasets loaded: dataset1 running coverage manually for mockpkg No test coverage for this configuration Creating Default test reporter for mockpkg Mapping package test structure for mockpkg Creating test results for no skipped tests for mockpkg Setting up coverage environment for : tests/testthat Setting up coverage environment for: tests/testthat Failed to create special helper file: invalid 'description' argument Loading helpers into coverage environment for: tests/testthat Error during setup for tests/testthat : invalid 'path' argument Project root not found. No helper files were loaded. Identifying test lines to skip for : tests/testthat Preparing test files to check for : tests/testthat Running environment coverage for tests/testthat Removing new globals from environment for tests/testthat No new globals detected. Cleaning up environment for tests/testthat Project root not found. 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 reporter for: mockpkg Creating reporter for: mockpkg 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 1 | WARN 0 | SKIP 6 | PASS 916 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-generate_test_report.R:213:3', 'test-get_package_coverage.R:2:3', 'test-get_package_coverage.R:59:3', 'test-get_package_coverage.R:78: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_bioc_nstf.R:800: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. (1): 'test-run_covr_skip_bioc_nstf.R:763:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-generate_test_report.R:651:3'): uses getwd() and emits message when output_dir is NULL ── Expected `grepl(...)` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 0 | SKIP 6 | PASS 916 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... [10s] OK * DONE Status: 1 ERROR, 1 NOTE