Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("arealDB")
  Loading required package: arealDB
  == Failed tests ================================================================
  -- Error (test_03_translateTerms.R:11:3): already known terms are correct ------
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\tt_nations.csv'
  Backtrace:
      x
   1. \-arealDB:::translateTerms(...) test_03_translateTerms.R:11:2
   2.   \-arealDB:::updateTable(index = out, name = args)
   3.     \-readr::write_csv(...)
   4.       \-readr::write_delim(...)
   5.         \-vroom::vroom_write(...)
   6.           \-vroom:::vroom_write_(...)
  -- Error (test_04_regDataseries.R:11:3): a dataseries inventory entry can be produced --
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::regDataseries(...) test_04_regDataseries.R:11:2
   2.   \-arealDB:::updateTable(...)
   3.     \-readr::write_csv(...)
   4.       \-readr::write_delim(...)
   5.         \-vroom::vroom_write(...)
   6.           \-vroom:::vroom_write_(...)
  -- Error (test_05_regGeometry.R:8:3): a geometry inventory entry is produced ---
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::makeExampleDB(until = "regDataseries") test_05_regGeometry.R:8:2
   2.   \-arealDB::regDataseries(...)
   3.     \-arealDB:::updateTable(...)
   4.       \-readr::write_csv(...)
   5.         \-readr::write_delim(...)
   6.           \-vroom::vroom_write(...)
   7.             \-vroom:::vroom_write_(...)
  -- Error (test_05_regGeometry.R:29:3): function asks for details, if not provided --
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::makeExampleDB(until = "regDataseries") test_05_regGeometry.R:29:2
   2.   \-arealDB::regDataseries(...)
   3.     \-arealDB:::updateTable(...)
   4.       \-readr::write_csv(...)
   5.         \-readr::write_delim(...)
   6.           \-vroom::vroom_write(...)
   7.             \-vroom:::vroom_write_(...)
  -- Error (test_06_regTable.R:10:3): a table inventory entry is produced --------
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::makeExampleDB(until = "regGeometry") test_06_regTable.R:10:2
   2.   \-arealDB::regDataseries(...)
   3.     \-arealDB:::updateTable(...)
   4.       \-readr::write_csv(...)
   5.         \-readr::write_delim(...)
   6.           \-vroom::vroom_write(...)
   7.             \-vroom:::vroom_write_(...)
  -- Error (test_06_regTable.R:44:3): function asks for details, if not provided --
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::makeExampleDB(until = "regGeometry") test_06_regTable.R:44:2
   2.   \-arealDB::regDataseries(...)
   3.     \-arealDB:::updateTable(...)
   4.       \-readr::write_csv(...)
   5.         \-readr::write_delim(...)
   6.           \-vroom::vroom_write(...)
   7.             \-vroom:::vroom_write_(...)
  -- Error (test_07_normGeometry.R:8:3): geometries can be normalised ------------
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::makeExampleDB(until = "regTable") test_07_normGeometry.R:8:2
   2.   \-arealDB::regDataseries(...)
   3.     \-arealDB:::updateTable(...)
   4.       \-readr::write_csv(...)
   5.         \-readr::write_delim(...)
   6.           \-vroom::vroom_write(...)
   7.             \-vroom:::vroom_write_(...)
  -- Error (test_08_matchUnits.R:12:3): units are matched ------------------------
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::makeExampleDB(until = "normGeometry") test_08_matchUnits.R:12:2
   2.   \-arealDB::regDataseries(...)
   3.     \-arealDB:::updateTable(...)
   4.       \-readr::write_csv(...)
   5.         \-readr::write_delim(...)
   6.           \-vroom::vroom_write(...)
   7.             \-vroom:::vroom_write_(...)
  -- Error (test_09_matchVars.R:9:3): variables are matched ----------------------
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::makeExampleDB(until = "normGeometry") test_09_matchVars.R:9:2
   2.   \-arealDB::regDataseries(...)
   3.     \-arealDB:::updateTable(...)
   4.       \-readr::write_csv(...)
   5.         \-readr::write_delim(...)
   6.           \-vroom::vroom_write(...)
   7.             \-vroom:::vroom_write_(...)
  -- Error (test_10_normTable.R:11:3): tables can be normalised (without matched variables) --
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::makeExampleDB(until = "normGeometry") test_10_normTable.R:11:2
   2.   \-arealDB::regDataseries(...)
   3.     \-arealDB:::updateTable(...)
   4.       \-readr::write_csv(...)
   5.         \-readr::write_delim(...)
   6.           \-vroom::vroom_write(...)
   7.             \-vroom:::vroom_write_(...)
  -- Error (test_10_normTable.R:26:3): tables can be normalised (with matched variables) --
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpSMaZ2n\newDB\inv_dataseries.csv'
  Backtrace:
      x
   1. \-arealDB::makeExampleDB(until = "normGeometry") test_10_normTable.R:26:2
   2.   \-arealDB::regDataseries(...)
   3.     \-arealDB:::updateTable(...)
   4.       \-readr::write_csv(...)
   5.         \-readr::write_delim(...)
   6.           \-vroom::vroom_write(...)
   7.             \-vroom:::vroom_write_(...)
  
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 31 ]
  Error: Test failures
  Execution halted