Running ‘testthat.R’ [41s/91s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("arealDB")
  Loading required package: arealDB
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
   -> press any key when done: 
   -> press any key when done: 
   -> press any key when done: 
  
  
  
  
  
  
  
  
  
  
   -> press any key when done: 
   -> press any key when done: 
   -> press any key when done: 
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 104 ]
  
  ══ 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_02_start_arealDB.R:9:3'): path has been added to the global options ──
  Error in `start_arealDB(root = dbpath, gazetteer = paste0(inPath, "/territories.rds"), 
      ontology = list(commodity = paste0(inPath, "/ontology.rds")))`: Assertion on 'gazetteer' failed: '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/arealDB/test_datasets/territories.rds' not writeable.
  Backtrace:
      ▆
   1. └─arealDB::start_arealDB(...) at test_02_start_arealDB.R:9:2
   2.   └─checkmate::assertFileExists(x = gazetteer, access = "rw", extension = "rds")
   3.     └─checkmate::makeAssertion(x, res, .var.name, add)
   4.       └─checkmate:::mstop(...)
  
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 104 ]
  Error: Test failures
  Execution halted