Package: arealDB Check: R code for possible problems New result: NOTE matchOntology: possible 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)) Package: arealDB Check: tests New result: ERROR Running ‘testthat.R’ [7s/7s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("arealDB") Loading required package: arealDB [ FAIL 5 | WARN 0 | 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 0 | SKIP 4 | PASS 62 ] Error: Test failures Execution halted Package: arealDB Check: whether package can be installed New result: WARNING Found the following significant warnings: Note: possible error in 'edit_matches(new = externalConcepts$label, ': unused argument (target = externalConcepts %>% select(has_broader, class)) See ‘/home/hornik/tmp/CRAN_recheck/arealDB.Rcheck/00install.out’ for details. Information on the location(s) of code generating the ‘Note’s can be obtained by re-running with environment variable R_KEEP_PKG_SOURCE set to ‘yes’.