Dear experts, In the automatic checks performed by CRAN, I obtain the following error:
==================================================== package EmiR_1.0.5.tar.gz does not pass the incoming checks automatically, please see the following pre-tests (additional issue checks): Windows: < https://win-builder.r-project.org/incoming_pretest/EmiR_1.0.5_20250507_204028/Windows/00check.log > Status: 1 ERROR, 2 NOTEs Debian: < https://win-builder.r-project.org/incoming_pretest/EmiR_1.0.5_20250507_204028/Debian/00check.log > Status: 1 ERROR, 2 NOTEs Last released version's CRAN status: NOTE: 13 See: <https://CRAN.R-project.org/web/checks/check_results_EmiR.html <https://cran.r-project.org/web/checks/check_results_EmiR.html> <https://cran.r-project.org/web/checks/check_results_EmiR.html>> CRAN Web: <https://cran.r-project.org/package=EmiR> More details are given in the directory: < https://win-builder.r-project.org/incoming_pretest/EmiR_1.0.5_20250507_204028/ > Flavor: r-devel-windows-x86_64 Check: tests, Result: ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(EmiR) > test_check("EmiR") 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| Flavor: r-devel-linux-x86_64-debian-gcc Check: tests, Result: ERROR Running 'testthat.R' [1s/1s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(EmiR) > test_check("EmiR") 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| [ FAIL 2 | WARN 1 | SKIP 0 | PASS 96 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure: ─────────────────────────────────────────────────────────────────── C stack usage 316451980572 is too close to the limit ── Error ('test-cpp.R:1:1'): (code run outside of `test_that()`) ─────────────── Error in `path_to_connection(x)`: '' does not exist in current working directory ('/srv/hornik/tmp/CRAN_pretest/EmiR.Rcheck/tests/testthat'). Backtrace: ▆ 1. └─testthat::run_cpp_tests("EmiR") at test-cpp.R:1:1 2. ├─xml2::read_xml(paste(output, collapse = "\n")) 3. └─xml2:::read_xml.character(paste(output, collapse = "\n")) 4. └─xml2:::path_to_connection(x) 5. └─xml2:::check_path(path) 6. └─cli::cli_abort(msg, call = call) 7. └─rlang::abort(...) [ FAIL 2 | WARN 1 | SKIP 0 | PASS 96 ] Error: Test failures Execution halted Segmentation fault ==================================================== I cannot reproduce the same error by testing the package on a Windows and macOS machine. Any suggestions on how to fix the error? Best regards, Lorenzo. -- Informativa sulla Privacy: https://www.unibs.it/it/node/1452 <https://www.unibs.it/it/node/1452> [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel