Running ‘testthat.R’ [25s/49s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > # Set environmental variable to prevent hang on quitting the `R` session.
  > # Error message:
  > # - `Error while shutting down parallel: unable to terminate some child processes`
  > # See:
  > # - https://github.com/r-lib/processx/issues/310
  > # - https://github.com/r-lib/processx/issues/240
  > # - https://github.com/r-lib/callr/issues/158
  > Sys.setenv(PROCESSX_NOTIFY_OLD_SIGCHLD = "true")
  > 
  > library(testthat)
  > library(parabar)
  > 
  > test_check("parabar")
  Saving _problems/test-user-api-317.R
  [ FAIL 1 | WARN 1 | SKIP 3 | PASS 377 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On Linux (2): 'test-specification.R:123:5', 'test-user-api.R:169:5'
  • Test only runs in interactive contexts. (1): 'test-user-api.R:384:9'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-user-api.R:317:5'): user API functions run tasks in parallel correctly ──
  <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
  Error: ! in callr subprocess.
  Caused by error in `file(file, mode)`:
  ! cannot open the connection
  Backtrace:
       ▆
    1. └─parabar:::tests_set_for_user_api_task_execution(...) at test-user-api.R:317:5
    2.   ├─testthat::expect_equal(eval(parallel), expected_output) at ./helpers.R:854:5
    3.   │ └─testthat::quasi_label(enquo(object), label)
    4.   │   └─rlang::eval_bare(expr, quo_get_env(quo))
    5.   ├─base::eval(parallel)
    6.   │ └─base::eval(parallel)
    7.   └─parabar::par_sapply(...)
    8.     └─consumer$sapply(backend = backend, x = x, fun = fun, ...)
    9.       └─private$.execute(backend, parallel, sequential)
   10.         └─context$get_output(wait = TRUE)
   11.           └─private$.backend$get_output(...)
   12.             └─private$.wait_to_fetch_results()
   13.               └─private$.set_output()
   14.                 └─Exception$async_task_error(output$error)
  
  [ FAIL 1 | WARN 1 | SKIP 3 | PASS 377 ]
  Error:
  ! Test failures.
  Execution halted