Running ‘testthat.R’ [18s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(comparer)
  > 
  > test_check("comparer")
  [1] "getting a tempdir now"
  [1] "tempdir is /tmp/RtmpekaOlZ//ffexptmpdir"
  [1] "going to save a temp file"
  [1] "temp file path is /tmp/RtmpekaOlZ//ffexptmpdir//test.rds"
  [1] "saved a file, does it exist"
  [1] TRUE
  [1] "done checking Travis and tempdir"
  Running 1, completed 0/6 Sun Dec 22 22:21:21 2019
  $n
  [1] 100
  
  $nulleff
  [1] 0
  
  Running 2, completed 1/6 Sun Dec 22 22:21:21 2019
  $n
  [1] 1000
  
  $nulleff
  [1] 0
  
  Running 3, completed 2/6 Sun Dec 22 22:21:22 2019
  $n
  [1] 10000
  
  $nulleff
  [1] 0
  
  Running 4, completed 3/6 Sun Dec 22 22:21:22 2019
  $n
  [1] 100
  
  $nulleff
  [1] 1
  
  Running 5, completed 4/6 Sun Dec 22 22:21:22 2019
  $n
  [1] 1000
  
  $nulleff
  [1] 1
  
  Running 6, completed 5/6 Sun Dec 22 22:21:22 2019
  $n
  [1] 10000
  
  $nulleff
  [1] 1
  
  About to start run in parallel, run order is:
       5 2 4 6 3 1 
  Saving to  /tmp/RtmpekaOlZ//ffexp3///object.rds 
  About to start run in parallel, run order is:
       2 5 4 1 3 6 
  ── 1. Failure: ffexp parallel 2 (@test_ffexp.R#96)  ────────────────────────────
  `f1$run_all(...)` threw an error.
  Message: 6 nodes produced errors; first error: cannot open the connection
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. f1$run_all(...)
   7. parallel::clusterApplyLB(...)
   8. parallel:::dynamicClusterApply(cl, fun, length(x), argfun)
   9. parallel:::checkForRemoteErrors(val)
  
  Error in summary.connection(connection) : invalid connection
  In addition: Warning message:
  In .Internal(gc(verbose, reset, full)) :
    closing unused connection 4 (<-localhost:11608)
  Running 1, completed 0/12 Sun Dec 22 22:21:27 2019
  $n
  [1] 100
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 0
  
  Running 1, completed 1/12 Sun Dec 22 22:21:27 2019
  $n
  [1] 100
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 0
  
  Running 2, completed 1/12 Sun Dec 22 22:21:27 2019
  $n
  [1] 1000
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 0
  
  Running 3, completed 2/12 Sun Dec 22 22:21:28 2019
  $n
  [1] 10000
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 0
  
  Running 12, completed 3/12 Sun Dec 22 22:21:28 2019
  $n
  [1] 10000
  
  $a
  [1] 2
  
  $b
  [1] 4
  
  $nulleff
  [1] 1
  
  Running 11, completed 4/12 Sun Dec 22 22:21:28 2019
  $n
  [1] 1000
  
  $a
  [1] 2
  
  $b
  [1] 4
  
  $nulleff
  [1] 1
  
  Running 10, completed 5/12 Sun Dec 22 22:21:28 2019
  $n
  [1] 100
  
  $a
  [1] 2
  
  $b
  [1] 4
  
  $nulleff
  [1] 1
  
  Running 9, completed 6/12 Sun Dec 22 22:21:28 2019
  $n
  [1] 10000
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 1
  
  Running 8, completed 7/12 Sun Dec 22 22:21:28 2019
  $n
  [1] 1000
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 1
  
  Running 7, completed 8/12 Sun Dec 22 22:21:29 2019
  $n
  [1] 100
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 1
  
  Running 6, completed 9/12 Sun Dec 22 22:21:29 2019
  $n
  [1] 10000
  
  $a
  [1] 2
  
  $b
  [1] 4
  
  $nulleff
  [1] 0
  
  Running 5, completed 10/12 Sun Dec 22 22:21:29 2019
  $n
  [1] 1000
  
  $a
  [1] 2
  
  $b
  [1] 4
  
  $nulleff
  [1] 0
  
  Running 4, completed 11/12 Sun Dec 22 22:21:29 2019
  $n
  [1] 100
  
  $a
  [1] 2
  
  $b
  [1] 4
  
  $nulleff
  [1] 0
  
  Running 3, completed 12/12 Sun Dec 22 22:21:29 2019
  $n
  [1] 10000
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 0
  
  Running 2, completed 12/12 Sun Dec 22 22:21:30 2019
  $n
  [1] 1000
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 0
  
  Running 1, completed 12/12 Sun Dec 22 22:21:30 2019
  $n
  [1] 100
  
  $a
  [1] 1
  
  $b
  [1] 3
  
  $nulleff
  [1] 0
  
  Running 12, completed 0/12 Sun Dec 22 22:21:31 2019
  $a
  [1] 3
  
  $b
  [1] 8
  
  $y
  [1] 4
  
  Running 11, completed 1/12 Sun Dec 22 22:21:31 2019
  $a
  [1] 2
  
  $b
  [1] 6
  
  $y
  [1] 4
  
  Running 10, completed 2/12 Sun Dec 22 22:21:31 2019
  $a
  [1] 1
  
  $b
  [1] 4
  
  $y
  [1] 4
  
  Running 9, completed 3/12 Sun Dec 22 22:21:31 2019
  $a
  [1] 3
  
  $b
  [1] 8
  
  $y
  [1] 3
  
  Running 8, completed 4/12 Sun Dec 22 22:21:31 2019
  $a
  [1] 2
  
  $b
  [1] 6
  
  $y
  [1] 3
  
  Running 7, completed 5/12 Sun Dec 22 22:21:32 2019
  $a
  [1] 1
  
  $b
  [1] 4
  
  $y
  [1] 3
  
  Running 6, completed 6/12 Sun Dec 22 22:21:32 2019
  $a
  [1] 3
  
  $b
  [1] 8
  
  $y
  [1] 2
  
  Running 5, completed 7/12 Sun Dec 22 22:21:32 2019
  $a
  [1] 2
  
  $b
  [1] 6
  
  $y
  [1] 2
  
  Running 4, completed 8/12 Sun Dec 22 22:21:32 2019
  $a
  [1] 1
  
  $b
  [1] 4
  
  $y
  [1] 2
  
  Running 3, completed 9/12 Sun Dec 22 22:21:32 2019
  $a
  [1] 3
  
  $b
  [1] 8
  
  $y
  [1] 1
  
  Running 2, completed 10/12 Sun Dec 22 22:21:32 2019
  $a
  [1] 2
  
  $b
  [1] 6
  
  $y
  [1] 1
  
  Running 1, completed 11/12 Sun Dec 22 22:21:33 2019
  $a
  [1] 1
  
  $b
  [1] 4
  
  $y
  [1] 1
  
  About to start run in parallel, run order is:
       1 2 3 4 5 6 7 8 9 10 11 12 
  [1] "Completed runs is 6"
  Running 1, completed 0/6 Sun Dec 22 22:21:36 2019
  $n
  [1] 100
  
  $nulleff
  [1] 0
  
  $functi
  function (x)  .Primitive("sin")
  
  Running 2, completed 1/6 Sun Dec 22 22:21:37 2019
  $n
  [1] 1000
  
  $nulleff
  [1] 0
  
  $functi
  function (x)  .Primitive("sin")
  
  Running 3, completed 2/6 Sun Dec 22 22:21:37 2019
  $n
  [1] 10000
  
  $nulleff
  [1] 0
  
  $functi
  function (x)  .Primitive("sin")
  
  Running 4, completed 3/6 Sun Dec 22 22:21:37 2019
  $n
  [1] 100
  
  $nulleff
  [1] 1
  
  $functi
  function (x)  .Primitive("sin")
  
  Running 5, completed 4/6 Sun Dec 22 22:21:37 2019
  $n
  [1] 1000
  
  $nulleff
  [1] 1
  
  $functi
  function (x)  .Primitive("sin")
  
  Running 6, completed 5/6 Sun Dec 22 22:21:37 2019
  $n
  [1] 10000
  
  $nulleff
  [1] 1
  
  $functi
  function (x)  .Primitive("sin")
  
  Error in summary.connection(connection) : invalid connection
  In addition: Warning message:
  In .Internal(gc(verbose, reset, full)) :
    closing unused connection 4 (<-localhost:11608)
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 128 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Failure: ffexp parallel 2 (@test_ffexp.R#96) 
  
  Error: testthat unit tests failed
  Execution halted