Running ‘testthat.R’ [29s/107s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(J4R)
  Welcome to J4R!
  Please, make sure that Java (version 8 or later) is installed on your computer.
  For more information, visit https://sourceforge.net/p/repiceasource/wiki/J4R/ .
  > 
  > test_check("J4R")
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar:/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat/javatests, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  socket error: Connection refused
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 18013, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  [1] 1000
  [1] 1000
  [1] 2000
  [1] 1010
  [1] 1010
  [1] 2010
  [1] 1010
  [1] 2010
  [1] 1010
  [1] 2010
  [1] 10
  [1] 1000
  [1] 2000
  ── 1. Failure: Test if the delay dump pile flush is enabled (@testMemoryManageme
  nbObjects >= i * 1000 not equal to `T`.
  1 element mismatch
  
  [1] 2999
  ── 2. Failure: Test if the delay dump pile flush is enabled (@testMemoryManageme
  nbObjects >= i * 1000 not equal to `T`.
  1 element mismatch
  
  [1] 3999
  ── 3. Failure: Test if the delay dump pile flush is enabled (@testMemoryManageme
  nbObjects >= i * 1000 not equal to `T`.
  1 element mismatch
  
  [1] 4999
  ── 4. Failure: Test if the delay dump pile flush is enabled (@testMemoryManageme
  nbObjects >= i * 1000 not equal to `T`.
  1 element mismatch
  
  [1] 5999
  ── 5. Failure: Test if the delay dump pile flush is enabled (@testMemoryManageme
  nbObjects >= i * 1000 not equal to `T`.
  1 element mismatch
  
  [1] 6999
  ── 6. Failure: Test if the delay dump pile flush is enabled (@testMemoryManageme
  nbObjects >= i * 1000 not equal to `T`.
  1 element mismatch
  
  [1] 7999
  ── 7. Failure: Test if the delay dump pile flush is enabled (@testMemoryManageme
  nbObjects >= i * 1000 not equal to `T`.
  1 element mismatch
  
  [1] 8999
  ── 8. Failure: Test if the delay dump pile flush is enabled (@testMemoryManageme
  nbObjects >= i * 1000 not equal to `T`.
  1 element mismatch
  
  [1] 9999
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx3000m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Xmx200m, -cp, j4r.jar, --add-opens, java.base/jdk.internal.loader=ALL-UNNAMED, j4r.lang.codetranslator.REnvironment, -ports, 0:0, -wd, /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/J4R.Rcheck/tests/testthat]
  Server started
  Shutting down application...
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 163 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 8 ]
  1. Failure: Test if the delay dump pile flush is enabled (@testMemoryManagement.R#66) 
  2. Failure: Test if the delay dump pile flush is enabled (@testMemoryManagement.R#66) 
  3. Failure: Test if the delay dump pile flush is enabled (@testMemoryManagement.R#66) 
  4. Failure: Test if the delay dump pile flush is enabled (@testMemoryManagement.R#66) 
  5. Failure: Test if the delay dump pile flush is enabled (@testMemoryManagement.R#66) 
  6. Failure: Test if the delay dump pile flush is enabled (@testMemoryManagement.R#66) 
  7. Failure: Test if the delay dump pile flush is enabled (@testMemoryManagement.R#66) 
  8. Failure: Test if the delay dump pile flush is enabled (@testMemoryManagement.R#66) 
  
  Error: testthat unit tests failed
  Execution halted