Running 'testthat.R' [29s]
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: ..................................................................
  common: .....................................1...............SSSSS
  connections: ....SS......SSSSSSS
  finished: S
  kill-tree: ....SSSSSSS
  linux: 
  macos: 
  pid-reuse: ..............................................................
  posix-zombie: 
  posix: 
  ps: S
  system: ...............psutil-debug> GetActiveProcessorCount() not available; using GetNativeSystemInfo()
  ...
  utils: ................
  windows: .......
  winver: ......
  
  == Skipped =====================================================================
  1. children (test-common.R:236:3) - Reason: On CRAN
  
  2. num_fds (test-common.R:265:3) - Reason: On CRAN
  
  3. open_files (test-common.R:281:3) - Reason: On CRAN
  
  4. interrupt (test-common.R:298:3) - Reason: On CRAN
  
  5. cpu affinity (test-common.R:315:3) - Reason: On CRAN
  
  6. UNIX sockets (test-connections.R:20:3) - Reason: No UNIX sockets
  
  7. UNIX sockets with path (test-connections.R:42:3) - Reason: No UNIX sockets
  
  8. TCP on loopback (test-connections.R:81:3) - Reason: socat is not available
  
  9. UDP (test-connections.R:115:3) - Reason: socat is not available
  
  10. UDP on loopback (test-connections.R:139:3) - Reason: socat is not available
  
  11. TCP6 (test-connections.R:172:3) - Reason: socat is not available
  
  12. TCP6 on loopback (test-connections.R:193:3) - Reason: socat is not available
  
  13. UDP6 (test-connections.R:232:3) - Reason: Needs working IPv6 connection
  
  14. UDP6 on loopback (test-connections.R:257:3) - Reason: socat is not available
  
  15. process already finished (test-finished.R:3:3) - Reason: On CRAN
  
  16. kill_tree (test-kill-tree.R:12:3) - Reason: On CRAN
  
  17. kill_tree, grandchild (test-kill-tree.R:59:3) - Reason: On CRAN
  
  18. kill_tree, orphaned grandchild (test-kill-tree.R:127:3) - Reason: On CRAN
  
  19. with_process_cleanup (test-kill-tree.R:155:3) - Reason: On CRAN
  
  20. find_tree (test-kill-tree.R:182:3) - Reason: On CRAN
  
  21. find_tree, grandchild (test-kill-tree.R:207:3) - Reason: On CRAN
  
  22. find_tree, orphaned grandchild (test-kill-tree.R:255:3) - Reason: On CRAN
  
  23. issue #129 (test-ps.R:2:1) - Reason: empty test
  
  == Failed ======================================================================
  -- 1. Error (test-common.R:171:3): environ, environ_raw ------------------------
  <os_error/ps_error/error/condition>
  Error: System error: 299
  Backtrace:
   1. testthat::expect_equal(ps_environ(ps)[["FOO"]], rnd)
        at test-common.R:171:2
   4. ps::ps_environ(ps)
   5. ps:::parse_envs(.Call(psll_environ, p))
  
  == DONE ========================================================================
  Frustration is a natural part of programming :)
  Error: Test failures
  Execution halted