* using log directory 'd:/Rcompile/CRANpkg/local/4.5/ps.Rcheck' * using R Under development (unstable) (2024-04-30 r86503 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'ps/DESCRIPTION' ... OK * this is package 'ps' version '1.7.6' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ps' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 13.2.0' * checking installed package size ... OK * checking package 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] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [0s] OK * checking loading without being on the library search path ... [0s] OK * checking whether startup messages can be suppressed ... [0s] 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 ... [4s] OK * checking Rd files ... [1s] 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 shell scripts ... 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 pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [130s] ERROR Running 'testthat.R' [130s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(ps) > > if (ps::ps_is_supported() && Sys.getenv("R_COVR", "") != "true" && + Sys.getenv("NOT_CRAN") != "" ) { + reporter <- ps::CleanupReporter(testthat::SummaryReporter)$new() + } else { + reporter <- "summary" + } > > if (ps_is_supported()) test_check("ps", reporter = reporter) cleanup-reporter: .......................................................SSS common: .........................................1............SSSSS connections: ....SSSSSSSSSS finished: S kill-tree: ....SSSSSSS linux: macos: pid-reuse: .............................................................. posix-zombie: posix: ps: S system: .................. utils: ................ windows: .......... winver: ...... ══ Skipped ═════════════════════════════════════════════════════════════════════ 1. Network cleanup, test, fail ('test-cleanup-reporter.R:348:3') - Reason: On CRAN 2. Network cleanup, unit: testsuite ('test-cleanup-reporter.R:371:3') - Reason: On CRAN 3. Network connections already open are ignored ('test-cleanup-reporter.R:399:3') - Reason: On CRAN 4. children ('test-common.R:236:3') - Reason: On CRAN 5. num_fds ('test-common.R:265:3') - Reason: On CRAN 6. open_files ('test-common.R:281:3') - Reason: On CRAN 7. interrupt ('test-common.R:298:3') - Reason: On CRAN 8. cpu affinity ('test-common.R:315:3') - Reason: On CRAN 9. UNIX sockets ('test-connections.R:20:3') - Reason: No UNIX sockets 10. UNIX sockets with path ('test-connections.R:42:3') - Reason: No UNIX sockets 11. TCP ('test-connections.R:67:3') - Reason: On CRAN 12. TCP on loopback ('test-connections.R:87:3') - Reason: socat is not available 13. UDP ('test-connections.R:121:3') - Reason: On CRAN 14. UDP on loopback ('test-connections.R:147:3') - Reason: socat is not available 15. TCP6 ('test-connections.R:179:3') - Reason: socat is not available 16. TCP6 on loopback ('test-connections.R:200:3') - Reason: socat is not available 17. UDP6 ('test-connections.R:238:3') - Reason: Needs working IPv6 connection 18. UDP6 on loopback ('test-connections.R:263:3') - Reason: socat is not available 19. process already finished ('test-finished.R:3:3') - Reason: On CRAN 20. kill_tree ('test-kill-tree.R:12:3') - Reason: On CRAN 21. kill_tree, grandchild ('test-kill-tree.R:59:3') - Reason: On CRAN 22. kill_tree, orphaned grandchild ('test-kill-tree.R:127:3') - Reason: On CRAN 23. with_process_cleanup ('test-kill-tree.R:155:3') - Reason: On CRAN 24. find_tree ('test-kill-tree.R:182:3') - Reason: On CRAN 25. find_tree, grandchild ('test-kill-tree.R:207:3') - Reason: On CRAN 26. find_tree, orphaned grandchild ('test-kill-tree.R:255:3') - Reason: On CRAN 27. issue #129 ('test-ps.R:2:1') - Reason: empty test ══ Failed ══════════════════════════════════════════════════════════════════════ ── 1. Failure ('test-common.R:184:3'): num_threads ───────────────────────────── ps_num_threads(ps) (`actual`) not equal to 1 (`expected`). `actual`: 2 `expected`: 1 ══ DONE ════════════════════════════════════════════════════════════════════════ Error: Test failures Execution halted * checking PDF version of manual ... [25s] OK * checking HTML version of manual ... [9s] OK * DONE Status: 1 ERROR