Running ‘testthat.R’ [44s/220s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(jgd)
  > 
  > test_check("jgd")
  jgd: connect(unix:///nonexistent-jgd-test.sock) failed: 2
  jgd: connect(unix:///nonexistent-jgd-env-test.sock) failed: 2
  jgd: connect(unix:///nonexistent-jgd-opt-test.sock) failed: 2
  jgd: connect(unix:///nonexistent-jgd-draw-test.sock) failed: 2
  jgd: connect(unix://localhost/nonexistent-jgd-localhost-test.sock) failed: 2
  jgd: connect(unix://localhost/nonexistent-jgd-localhost-draw.sock) failed: 2
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(/tmp/RtmpHdQXKJ/working_dir/Rtmp322XY4/jgd-test-3dc4c5fae5fb9.sock) failed: 111
  Saving _problems/test-frame-output-24.R
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(tcp://127.0.0.1:1) failed: 111
  jgd: connect(unix:///nonexistent-jgd-info-test.sock) failed: 2
  [ FAIL 1 | WARN 4 | SKIP 29 | PASS 166 ]
  
  ══ Skipped tests (29) ══════════════════════════════════════════════════════════
  • Named pipes only available on Windows (1): 'test-device-basic.R:83:3'
  • On CRAN (28): 'test-device-basic.R:3:1', 'test-device-basic.R:10:1',
    'test-device-basic.R:17:1', 'test-device-basic.R:25:1',
    'test-device-basic.R:36:1', 'test-device-basic.R:43:1',
    'test-device-basic.R:53:1', 'test-device-basic.R:59:1',
    'test-device-basic.R:65:1', 'test-device-basic.R:72:1',
    'test-device-basic.R:94:1', 'test-frame-ext.R:225:3',
    'test-frame-ext.R:429:3', 'test-frame-ext.R:491:3',
    'test-frame-output.R:216:1', 'test-frame-output.R:226:1',
    'test-frame-output.R:241:1', 'test-frame-output.R:251:1',
    'test-frame-output.R:271:1', 'test-group-ops.R:346:3',
    'test-group-ops.R:526:3', 'test-malformed-json.R:121:3',
    'test-malformed-json.R:151:3', 'test-malformed-json.R:171:3',
    'test-plotindex-buffering.R:132:3', 'test-resize-plotindex-content.R:133:3',
    'test-resize-plotindex-lines.R:128:3', 'test-resize-plotnumber.R:132:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-frame-output.R:21:3'): frame contains correct device dimensions ──
  Error in `if (bg$get_exit_status() != 0) {     stop("Mock server exited with error: ", bg$read_error()) }`: argument is of length zero
  Backtrace:
      ▆
   1. └─jgd:::with_mock_jgd(...) at test-frame-output.R:21:3
   2.   └─server$collect() at ./helper-mock-server.R:337:3
  
  [ FAIL 1 | WARN 4 | SKIP 29 | PASS 166 ]
  Error:
  ! Test failures.
  Execution halted