Running ‘testthat.R’ [3s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("rmake")
  Loading required package: rmake
  make[1]: Entering directory '/tmp/RtmpR8bMCE/simple42cf3463b151'
  "/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript" -e '{' \
  -e '    params <- NULL' \
  -e '    source("Makefile.R")' \
  -e '}'
  "/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript" -e '{' \
  -e '    params <- NULL' \
  -e '    source("script.R")' \
  -e '}'
  make[1]: Leaving directory '/tmp/RtmpR8bMCE/simple42cf3463b151'
  make[1]: Entering directory '/tmp/RtmpR8bMCE/simple42cf3463b151'
  "/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript" -e '{' \
  -e '    params <- NULL' \
  -e '    source("script.R")' \
  -e '}'
  make[1]: Leaving directory '/tmp/RtmpR8bMCE/simple42cf3463b151'
  make[1]: Entering directory '/tmp/RtmpR8bMCE/simple42cf3463b151'
  "/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript" -e '{' \
  -e '    params <- NULL' \
  -e '    source("script.R")' \
  -e '}'
  make[1]: Leaving directory '/tmp/RtmpR8bMCE/simple42cf3463b151'
  make[1]: Entering directory '/tmp/RtmpR8bMCE/tasks42cf71a62ab'
  "/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript" -e '{' \
  -e '    params <- NULL' \
  -e '    source("Makefile.R")' \
  -e '}'
  "/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript" -e '{' \
  -e '    params <- NULL' \
  -e '    source("script1.R")' \
  -e '}'
  make[1]: *** read jobs pipe: Bad file descriptor.  Stop.
  make[1]: *** Waiting for unfinished jobs....
  make[1]: Leaving directory '/tmp/RtmpR8bMCE/tasks42cf71a62ab'
  ── 1. Failure: tasks (@test-run-tasks.R#33)  ───────────────────────────────────
  file.exists(out2) isn't true.
  
  ── 2. Error: tasks (@test-run-tasks.R#36)  ─────────────────────────────────────
  cannot open the connection
  1: expect_true(contentGreater(out2, dep2)) at testthat/test-run-tasks.R:36
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: contentGreater(out2, dep2)
  5: read.table(f1)
  6: file(file, "rt")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 75 SKIPPED: 0 FAILED: 2
  1. Failure: tasks (@test-run-tasks.R#33) 
  2. Error: tasks (@test-run-tasks.R#36) 
  
  Error: testthat unit tests failed
  Execution halted