'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running examples in ‘batchr-Ex.R’ failed
The error most likely occurred in:

> ### Name: batch_completed
> ### Title: Batch Completed?
> ### Aliases: batch_completed
> 
> ### ** Examples
> 
> path <- tempdir()
> write.csv(mtcars, file.path(path, "file1.csv"))
> batch_config(function(x) TRUE, path, regexp = "[.]csv$")
Error: Directory '/Volumes/Temp/tmp/RtmpTO8ydy' already contains a '.batchr.rds' file.
Backtrace:
    █
 1. └─batchr::batch_config(function(x) TRUE, path, regexp = "[.]csv$")
 2.   └─chk::err("Directory '", path, "' already contains a '.batchr.rds' file.")
 3.     └─rlang::exec(abort, msg, .subclass = .subclass, !!!args[named])
Execution halted
Running ‘testthat.R’ [6s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  names for target but not for current
  Lengths (1, 0) differ (comparison on first 0 components)
  ── Failure (test-status.R:22:3): batch_file_status all processed successfully ──
  status[c("type", "file", "message")] not identical to tibble::tibble(type = "SUCCESS", file = "file1.csv", message = NA_character_).
  Attributes: < Component "row.names": Numeric: lengths (2, 1) differ >
  Component "type": Lengths (2, 1) differ (string compare on first 1)
  Component "file": Lengths (2, 1) differ (string compare on first 1)
  Component "message": Lengths (2, 1) differ (string compare on first 1)
  ── Failure (test-status.R:25:3): batch_file_status all processed successfully ──
  round(as.numeric(status$time)) not identical to 0.
  Lengths differ: 2 is not 1
  
  [ FAIL 31 | WARN 14 | SKIP 1 | PASS 301 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘batchr.Rmd’ using rmarkdown
Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
Quitting from lines 76-77 (batchr.Rmd) 
Error: processing vignette 'batchr.Rmd' failed with diagnostics:
`x` must be a scalar.
--- failed re-building ‘batchr.Rmd’

SUMMARY: processing the following file failed:
  ‘batchr.Rmd’

Error: Vignette re-building failed.
Execution halted
Running examples in ‘batchr-Ex.R’ failed
The error most likely occurred in:

> ### Name: batch_completed
> ### Title: Batch Completed?
> ### Aliases: batch_completed
> 
> ### ** Examples
> 
> path <- tempdir()
> write.csv(mtcars, file.path(path, "file1.csv"))
> batch_config(function(x) TRUE, path, regexp = "[.]csv$")
Error: Directory '/Volumes/Temp/tmp/RtmpXMVzHS' already contains a '.batchr.rds' file.
Backtrace:
    █
 1. └─batchr::batch_config(function(x) TRUE, path, regexp = "[.]csv$")
 2.   └─chk::err("Directory '", path, "' already contains a '.batchr.rds' file.")
 3.     └─rlang::exec(abort, msg, .subclass = .subclass, !!!args[named])
Execution halted
Running ‘testthat.R’ [6s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
   11.               └─hmstimer::tmr_is_started(x)
   12.                 └─hmstimer:::chk_x(x)
   13.                   └─hmstimer:::err("`x` must be a scalar.")
  ── Failure (test-run.R:14:3): batch_run ────────────────────────────────────────
  batch_run(path, ask = FALSE) not identical to structure(logical(0), .Names = character(0)).
  names for target but not for current
  Lengths (1, 0) differ (comparison on first 0 components)
  ── Failure (test-run.R:49:3): batch_run returns non-flag ───────────────────────
  batch_run(path, ask = FALSE) not identical to structure(logical(0), .Names = character(0)).
  names for target but not for current
  Lengths (1, 0) differ (comparison on first 0 components)
  
  [ FAIL 29 | WARN 14 | SKIP 1 | PASS 303 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘batchr.Rmd’ using rmarkdown
Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
Quitting from lines 76-77 (batchr.Rmd) 
Error: processing vignette 'batchr.Rmd' failed with diagnostics:
`x` must be a scalar.
--- failed re-building ‘batchr.Rmd’

SUMMARY: processing the following file failed:
  ‘batchr.Rmd’

Error: Vignette re-building failed.
Execution halted