Running ‘testthat.R’ [13s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(metaDigitise)
  > library(mockery)
  > 
  > testthat::test_check("metaDigitise")
  ── 1. Failure: Checking process_data.. (@test-conversion.R#40)  ────────────────
  process_data(...) not equal to data.frame(...).
  Component "id": Modes: character, numeric
  Component "id": Attributes: < target is NULL, current is list >
  Component "id": target is character, current is factor
  process_data failed
  
  ── 2. Failure: Checking process_data.. (@test-conversion.R#50)  ────────────────
  process_data(...) not equal to data.frame(...).
  Component "id": Modes: character, numeric
  Component "id": Attributes: < target is NULL, current is list >
  Component "id": target is character, current is factor
  process_data failed
  
  
  Import all extracted data or from one image:
  ── 3. Failure: Checking summary.metaDigitise.. (@test-metaDigitise_functions.R#2
  summary.metaDigitise(mock_object) not equal to data.frame(...).
  Component "filename": Modes: character, numeric
  Component "filename": Attributes: < target is NULL, current is list >
  Component "filename": target is character, current is factor
  Component "variable": Modes: character, numeric
  Component "variable": Attributes: < target is NULL, current is list >
  Component "variable": target is character, current is factor
  Component "error_type": Modes: character, numeric
  Component "error_type": Attributes: < target is NULL, current is list >
  Component "error_type": target is character, current is factor
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 66 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Failure: Checking process_data.. (@test-conversion.R#40) 
  2. Failure: Checking process_data.. (@test-conversion.R#50) 
  3. Failure: Checking summary.metaDigitise.. (@test-metaDigitise_functions.R#23) 
  
  Error: testthat unit tests failed
  Execution halted