Running ‘testthat.R’ [9s/16s]
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: 123456789abcdefgh
  common: .......................................................SSSSS
  connections: ijSkSSSSSSS
  finished: S
  kill-tree: ....SSSSSSS
  linux: ......S
  macos: 
  pid-reuse: .......................................................................lmn
  posix-zombie: ...................................................opq.........
  posix: .S..........
  ps: .
  system: ..................
  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 with path ('test-connections.R:43:3') - Reason: socat is not available
  
  7. TCP on loopback ('test-connections.R:81:3') - Reason: socat is not available
  
  8. UDP ('test-connections.R:115:3') - Reason: socat is not available
  
  9. UDP on loopback ('test-connections.R:139:3') - Reason: socat is not available
  
  10. TCP6 ('test-connections.R:172:3') - Reason: socat is not available
  
  11. TCP6 on loopback ('test-connections.R:193:3') - Reason: socat is not available
  
  12. UDP6 ('test-connections.R:232:3') - Reason: Needs working IPv6 connection
  
  13. UDP6 on loopback ('test-connections.R:257:3') - Reason: socat is not available
  
  14. process already finished ('test-finished.R:3:3') - Reason: On CRAN
  
  15. kill_tree ('test-kill-tree.R:12:3') - Reason: On CRAN
  
  16. kill_tree, grandchild ('test-kill-tree.R:59:3') - Reason: On CRAN
  
  17. kill_tree, orphaned grandchild ('test-kill-tree.R:127:3') - Reason: On CRAN
  
  18. with_process_cleanup ('test-kill-tree.R:155:3') - Reason: On CRAN
  
  19. find_tree ('test-kill-tree.R:182:3') - Reason: On CRAN
  
  20. find_tree, grandchild ('test-kill-tree.R:207:3') - Reason: On CRAN
  
  21. find_tree, orphaned grandchild ('test-kill-tree.R:255:3') - Reason: On CRAN
  
  22. memory_info ('test-linux.R:30:3') - Reason: On CRAN
  
  23. terminal ('test-posix.R:14:3') - Reason: no terminal
  
  ══ Failed ══════════════════════════════════════════════════════════════════════
  ── 1. Error ('test-cleanup-reporter.R:6:3'): unit: test, mode: cleanup-fail ────
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::expect_failure(...)
         at test-cleanup-reporter.R:6:2
   12. testthat::test_that(...)
         at test-cleanup-reporter.R:9:8
   13. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
   14. reporter$start_test(context = reporter$.context, test = test)
   15. ps::ps_connections(ps_handle())
   16. ps:::psl_connections(p)
   17. ps:::not_null(.Call("psll_connections", p))
  
  ── 2. Error ('test-cleanup-reporter.R:30:3'): unit: test, multiple processes ───
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::expect_failure(...)
         at test-cleanup-reporter.R:30:2
   12. testthat::test_that(...)
         at test-cleanup-reporter.R:33:8
   13. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
   14. reporter$start_test(context = reporter$.context, test = test)
   15. ps::ps_connections(ps_handle())
   16. ps:::psl_connections(p)
   17. ps:::not_null(.Call("psll_connections", p))
  
  ── 3. Error ('test-cleanup-reporter.R:52:3'): on.exit() works ──────────────────
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::expect_success(...)
         at test-cleanup-reporter.R:52:2
   12. testthat::test_that(...)
         at test-cleanup-reporter.R:55:8
   13. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
   14. reporter$start_test(context = reporter$.context, test = test)
   15. ps::ps_connections(ps_handle())
   16. ps:::psl_connections(p)
   17. ps:::not_null(.Call("psll_connections", p))
  
  ── 4. Error ('test-cleanup-reporter.R:72:3'): only report ──────────────────────
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::expect_failure(...)
         at test-cleanup-reporter.R:72:2
   12. testthat::test_that(...)
         at test-cleanup-reporter.R:76:10
   13. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
   14. reporter$start_test(context = reporter$.context, test = test)
   15. ps::ps_connections(ps_handle())
   16. ps:::psl_connections(p)
   17. ps:::not_null(.Call("psll_connections", p))
  
  ── 5. Error ('test-cleanup-reporter.R:93:3'): only kill ────────────────────────
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::with_reporter(...)
         at test-cleanup-reporter.R:93:2
    6. testthat::test_that(...)
         at test-cleanup-reporter.R:97:8
    7. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
    8. reporter$start_test(context = reporter$.context, test = test)
    9. ps::ps_connections(ps_handle())
   10. ps:::psl_connections(p)
   11. ps:::not_null(.Call("psll_connections", p))
  
  ── 6. Error ('test-cleanup-reporter.R:118:3'): unit: testsuite ─────────────────
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::expect_failure(...)
         at test-cleanup-reporter.R:118:2
   12. testthat::test_that(...)
         at test-cleanup-reporter.R:123:8
   13. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
   14. reporter$start_test(context = reporter$.context, test = test)
   15. ps::ps_connections(ps_handle())
   16. ps:::psl_connections(p)
   17. ps:::not_null(.Call("psll_connections", p))
  
  ── 7. Error ('test-cleanup-reporter.R:148:3'): R connection cleanup, test, close
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::expect_failure(...)
         at test-cleanup-reporter.R:148:2
   12. testthat::test_that(...)
         at test-cleanup-reporter.R:151:8
   13. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
   14. reporter$start_test(context = reporter$.context, test = test)
   15. ps::ps_connections(ps_handle())
   16. ps:::psl_connections(p)
   17. ps:::not_null(.Call("psll_connections", p))
  
  ── 8. Error ('test-cleanup-reporter.R:169:3'): R connection cleanup, test, do no
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::expect_failure(...)
         at test-cleanup-reporter.R:169:2
   12. testthat::test_that(...)
         at test-cleanup-reporter.R:173:8
   13. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
   14. reporter$start_test(context = reporter$.context, test = test)
   15. ps::ps_connections(ps_handle())
   16. ps:::psl_connections(p)
   17. ps:::not_null(.Call("psll_connections", p))
  
  ── 9. Error ('test-cleanup-reporter.R:192:3'): R connection cleanup, test, close
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::with_reporter(...)
         at test-cleanup-reporter.R:192:2
    6. testthat::test_that(...)
         at test-cleanup-reporter.R:195:8
    7. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
    8. reporter$start_test(context = reporter$.context, test = test)
    9. ps::ps_connections(ps_handle())
   10. ps:::psl_connections(p)
   11. ps:::not_null(.Call("psll_connections", p))
  
  ── 10. Error ('test-cleanup-reporter.R:211:3'): R connections, unit: testsuite ─
  Error in `not_null(.Call("psll_connections", p))`: DLL requires the use of native symbols
  Backtrace:
    1. testthat::expect_failure(...)
         at test-cleanup-reporter.R:211:2
   12. testthat::test_that(...)
         at test-cleanup-reporter.R:216:8
   13. testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
   14. reporter$start_test(context = reporter$.context, test = test)
   15. ps::ps_connections(ps_handle())
   16. ps:::psl_connections(p)
   17. ps:::not_null(.Call("psll_connections", p))
    ... and 16 more
  
  
  Maximum number of 10 failures reached, some test results may be missing.
  
  ══ DONE ════════════════════════════════════════════════════════════════════════
  Error: Test failures
  Execution halted