Running ‘testthat.R’ [15s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("arealDB")
  Loading required package: arealDB
  
  
  
  
  
  
  
  
  
  
  [ FAIL 5 | WARN 1 | SKIP 4 | PASS 62 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • empty test (4): 'test_matchOntology.R:7:1', 'test_matchOntology.R:12:1',
    'test_matchOntology.R:17:1', 'test_matchOntology.R:22:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_01_makeExampleDB.R:89:3'): make example DB until normGeometry ──
  Error in `edit_matches(new = externalConcepts$label, target = externalConcepts %>% 
      select(has_broader, class), source = dataseries, ontology = ontology, 
      matchDir = paste0(intPaths, "/meta/", type, "/"), verbose = verbose, 
      beep = beep)`: unused argument (target = externalConcepts %>% select(has_broader, class))
  Backtrace:
      ▆
   1. └─arealDB::makeExampleDB(until = "normGeometry", path = dbpath) at test_01_makeExampleDB.R:89:3
   2.   └─arealDB::normGeometry(update = TRUE, verbose = verbose)
   3.     └─arealDB::matchOntology(...)
  ── Error ('test_01_makeExampleDB.R:99:3'): make example DB until normTable ─────
  Error in `edit_matches(new = externalConcepts$label, target = externalConcepts %>% 
      select(has_broader, class), source = dataseries, ontology = ontology, 
      matchDir = paste0(intPaths, "/meta/", type, "/"), verbose = verbose, 
      beep = beep)`: unused argument (target = externalConcepts %>% select(has_broader, class))
  Backtrace:
      ▆
   1. └─arealDB::makeExampleDB(until = "normTable", path = dbpath) at test_01_makeExampleDB.R:99:3
   2.   └─arealDB::normGeometry(update = TRUE, verbose = verbose)
   3.     └─arealDB::matchOntology(...)
  ── Error ('test_06_normGeometry.R:16:3'): geometries can be normalised ─────────
  Error in `edit_matches(new = externalConcepts$label, target = externalConcepts %>% 
      select(has_broader, class), source = dataseries, ontology = ontology, 
      matchDir = paste0(intPaths, "/meta/", type, "/"), verbose = verbose, 
      beep = beep)`: unused argument (target = externalConcepts %>% select(has_broader, class))
  Backtrace:
      ▆
   1. └─arealDB::normGeometry(...) at test_06_normGeometry.R:16:3
   2.   └─arealDB::matchOntology(...)
  ── Error ('test_07_normTable.R:13:3'): tables can be normalised (without matched variables) ──
  Error in `edit_matches(new = externalConcepts$label, target = externalConcepts %>% 
      select(has_broader, class), source = dataseries, ontology = ontology, 
      matchDir = paste0(intPaths, "/meta/", type, "/"), verbose = verbose, 
      beep = beep)`: unused argument (target = externalConcepts %>% select(has_broader, class))
  Backtrace:
      ▆
   1. └─arealDB::makeExampleDB(until = "normGeometry", path = dbpath) at test_07_normTable.R:13:3
   2.   └─arealDB::normGeometry(update = TRUE, verbose = verbose)
   3.     └─arealDB::matchOntology(...)
  ── Error ('test_07_normTable.R:42:3'): tables can be normalised (with matched variables) ──
  Error in `edit_matches(new = externalConcepts$label, target = externalConcepts %>% 
      select(has_broader, class), source = dataseries, ontology = ontology, 
      matchDir = paste0(intPaths, "/meta/", type, "/"), verbose = verbose, 
      beep = beep)`: unused argument (target = externalConcepts %>% select(has_broader, class))
  Backtrace:
      ▆
   1. └─arealDB::makeExampleDB(until = "normGeometry", path = dbpath) at test_07_normTable.R:42:3
   2.   └─arealDB::normGeometry(update = TRUE, verbose = verbose)
   3.     └─arealDB::matchOntology(...)
  
  [ FAIL 5 | WARN 1 | SKIP 4 | PASS 62 ]
  Error: Test failures
  Execution halted