Running ‘testthat.R’ [69s/89s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > suppressPackageStartupMessages(library(testthat))
  > suppressPackageStartupMessages(library(pulsar))
  > 
  > testthat::test_check("pulsar")
  ── 1. Failure: default config files are in search path (@test_batchtools.R#34)  
  basename(conf) not equivalent to `name`.
  1/1 mismatches
  x[1]: ".batchtools.conf.R"
  y[1]: "batchtools.conf.R"
  
  ── 2. Failure: default config files are in search path (@test_batchtools.R#34)  
  dirname(conf) not equivalent to system.file("config", package = "pulsar").
  1/1 mismatches
  x[1]: "/home/hornik"
  y[1]: "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/pulsar/config"
  
  ── 3. Failure: default config files are in search path (@test_batchtools.R#35)  
  basename(conf) not equivalent to `name`.
  Lengths differ: 0 is not 1
  
  ── 4. Failure: default config files are in search path (@test_batchtools.R#35)  
  dirname(conf) not equivalent to system.file("config", package = "pulsar").
  Lengths differ: 0 is not 1
  
  ── 5. Failure: default config files are in search path (@test_batchtools.R#36)  
  basename(conf) not equivalent to `name`.
  Lengths differ: 0 is not 1
  
  ── 6. Failure: default config files are in search path (@test_batchtools.R#36)  
  dirname(conf) not equivalent to system.file("config", package = "pulsar").
  Lengths differ: 0 is not 1
  
  ── 7. Failure: default config files are in search path (@test_batchtools.R#37)  
  basename(conf) not equivalent to `name`.
  Lengths differ: 0 is not 1
  
  ── 8. Failure: default config files are in search path (@test_batchtools.R#37)  
  dirname(conf) not equivalent to system.file("config", package = "pulsar").
  Lengths differ: 0 is not 1
  
  ── 9. Failure: default config files are in search path (@test_batchtools.R#45)  
  length(batchtools:::findConfFile()) not equivalent to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  ── 10. Error: default config files are in search path (@test_batchtools.R#47)  ─
  unused argument (check.attributes = FALSE)
  1: conftestbt(conf5) at testthat/test_batchtools.R:47
  2: expect_equivalent(batchtools:::findConfFile(), conf) at testthat/test_batchtools.R:22
  3: compare(act$val, exp$val, ..., check.attributes = FALSE)
  
  ── 11. Failure: default template files are in the search path (@test_batchtools.
  basename(tmpl1) not equivalent to paste0(base, ".tmpl").
  1/1 mismatches
  x[1]: ".batchtools.simpletorque.tmpl"
  y[1]: "simpletorque.tmpl"
  
  ── 12. Failure: default template files are in the search path (@test_batchtools.
  dirname(tmpl1) not equivalent to system.file("templates", package = "pulsar").
  1/1 mismatches
  x[1]: "/home/hornik"
  y[1]: "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/pulsar/templat
  y[1]: es"
  
  ── 13. Error: default template files are in the search path (@test_batchtools.R#
  unused argument (check.attributes = FALSE)
  1: templtestbt(tmpl3) at testthat/test_batchtools.R:88
  2: expect_equivalent(pulsar::findTemplateFile(name), templ) at testthat/test_batchtools.R:64
  3: compare(act$val, exp$val, ..., check.attributes = FALSE)
  
  ── 14. Error: batch.pulsar options (@test_batchtools.R#118)  ───────────────────
  unused argument (check.attributes = FALSE)
  1: expect_equivalent(est$init.reg$work.dir, homedir) at testthat/test_batchtools.R:118
  2: compare(act$val, exp$val, ..., check.attributes = FALSE)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 146 SKIPPED: 0 FAILED: 14
  1. Failure: default config files are in search path (@test_batchtools.R#34) 
  2. Failure: default config files are in search path (@test_batchtools.R#34) 
  3. Failure: default config files are in search path (@test_batchtools.R#35) 
  4. Failure: default config files are in search path (@test_batchtools.R#35) 
  5. Failure: default config files are in search path (@test_batchtools.R#36) 
  6. Failure: default config files are in search path (@test_batchtools.R#36) 
  7. Failure: default config files are in search path (@test_batchtools.R#37) 
  8. Failure: default config files are in search path (@test_batchtools.R#37) 
  9. Failure: default config files are in search path (@test_batchtools.R#45) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted