Running 'testthat.R' [38s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > suppressPackageStartupMessages(library(testthat))
  > suppressPackageStartupMessages(library(pulsar))
  > 
  > testthat::test_check("pulsar")
  -- 1. Error: default config files are in search path (@test_batchtools.R#47)  --
  [ENOENT] Failed to realize 'C:/Users/CRAN/.batchtools.conf.R': no such file or directory
  1: conftestbt(conf5) at testthat/test_batchtools.R:47
  2: expect_equivalent(batchtools:::findConfFile(), conf) at testthat/test_batchtools.R:22
  3: quasi_label(enquo(object), label)
  4: eval_bare(get_expr(quo), get_env(quo))
  5: batchtools:::findConfFile()
  6: fs::path_real(x)
  7: realize_(old[!is_missing])
  
  -- 2. Failure: default template files are in the search path (@test_batchtools.R
  pulsar::findTemplateFile(name) not equivalent to `templ`.
  1/1 mismatches
  x[1]: "D:/temp/RtmporN01A/RLIBS_41b81f2930e2/pulsar/templates/simpletorque.tmpl"
  y[1]: "C:/Users/CRAN/Documents/.batchtools.simpletorque.tmpl"
  
  -- 3. Error: default template files are in the search path (@test_batchtools.R#9
  unused argument (check.attributes = FALSE)
  1: templtestbt(tmpl4) at testthat/test_batchtools.R:92
  2: expect_equivalent(pulsar::findTemplateFile(name), templ) at testthat/test_batchtools.R:64
  3: compare(act$val, exp$val, ..., check.attributes = FALSE)
  
  -- 4. Error: batch.pulsar options (@test_batchtools.R#113)  --------------------
  [ENOENT] Failed to realize 'C:/Users/CRAN/.batchtools.conf.R': no such file or directory
  1: suppressWarnings(est <- batch.pulsar(dat$data, huge::huge, fargs, rep.num = 3, lb.stars = TRUE, 
         wkdir = homedir)) at testthat/test_batchtools.R:113
  2: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  3: batch.pulsar(dat$data, huge::huge, fargs, rep.num = 3, lb.stars = TRUE, wkdir = homedir)
  4: findConfFile(conffile)
  5: getFromNamespace("findConfFile", "batchtools")()
  6: fs::path_real(x)
  7: realize_(old[!is_missing])
  
  -- 5. Error: weird lambda path results in correct error or warning  ------------
  [ENOENT] Failed to realize 'C:/Users/CRAN/.batchtools.conf.R': no such file or directory
  1: expect_warning(out <- pfun(dat$data, fun = fun, fargs = hargs, rep.num = 2, ...), 
         "lambda path")
  2: quasi_capture(enquo(object), capture_warnings, label = label)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withCallingHandlers(code, warning = function(condition) {
         out$push(condition)
         invokeRestart("muffleWarning")
     })
  5: eval_bare(get_expr(quo), get_env(quo))
  6: pfun(dat$data, fun = fun, fargs = hargs, rep.num = 2, ...)
  7: findConfFile(conffile)
  8: getFromNamespace("findConfFile", "batchtools")()
  9: fs::path_real(x)
  10: realize_(old[!is_missing])
  
  -- 6. Error: (unknown) (@test_pulsar.R#31)  ------------------------------------
  [ENOENT] Failed to realize 'C:/Users/CRAN/.batchtools.conf.R': no such file or directory
  1: runtests(batch.pulsar, "batch.pulsar", dat, fun = huge::huge, fargs = list(verbose = FALSE, 
         scr = TRUE), conffile = conffile, cleanup = TRUE, seed = rseed, wkdir = homedir) at testthat/test_pulsar.R:31
  2: pfun(dat$data, fun = fun, fargs = hargs, criterion = "stars", rep.num = 6, ...)
  3: findConfFile(conffile)
  4: getFromNamespace("findConfFile", "batchtools")()
  5: fs::path_real(x)
  6: realize_(old[!is_missing])
  
  == testthat results  ===========================================================
  OK: 70 SKIPPED: 0 FAILED: 6
  1. Error: default config files are in search path (@test_batchtools.R#47) 
  2. Failure: default template files are in the search path (@test_batchtools.R#88) 
  3. Error: default template files are in the search path (@test_batchtools.R#92) 
  4. Error: batch.pulsar options (@test_batchtools.R#113) 
  5. Error: weird lambda path results in correct error or warning 
  6. Error: (unknown) (@test_pulsar.R#31) 
  
  Error: testthat unit tests failed
  Execution halted