Running ‘testthat.R’ [25s/56s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(madrat)
  Loading required package: magclass
  > 
  > test_check("madrat")
  tar: a: unknown function modifier
  Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
  tar: a: unknown function modifier
  Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
  tar: a: unknown function modifier
  Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
  tar: a: unknown function modifier
  Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
  tar: a: unknown function modifier
  Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
  tar: a: unknown function modifier
  Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
  tar: a: unknown function modifier
  Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
  tar: a: unknown function modifier
  Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
  tar: a: unknown function modifier
  Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (5)
  • reshape2 cannot be loaded (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-retrieveData.R:8:3): retrieveData works as expected ───────────
  file.exists(paste0(getConfig("outputfolder"), "/rev0test_h12_example_customizable_tag.tgz")) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-retrieveData.R:9:3): retrieveData works as expected ───────────
  `retrieveData("example", rev = 0, dev = "test")` produced unexpected messages.
  Expected match: data is already available
  Actual values:
  * Configuration update:
  
  *   regionmapping: regionmappingH12.csv -> h12.csv
  
  *   outputfolder: /tmp/RtmpDhaG7P/working_dir/RtmpAPaqZj -> /tmp/RtmpDhaG7P/working_dir/RtmpAPaqZj/rev0test_h12_example
  
  *   diagnostics: FALSE -> diagnostics
  
  * Configuration update:
  
  *   cachefolder: /tmp/RtmpDhaG7P/working_dir/RtmpAPaqZj/cache/rev123 -> /tmp/RtmpDhaG7P/working_dir/RtmpAPaqZj/cache/rev0test
  
  *   forcecache: FALSE -> TRUE
  
  * 
  
  * Current madrat configuration:
  
  *    regionmapping        -> "h12.csv"
  
  *    packages             -> "madrat"
  
  *    globalenv            -> TRUE
  
  *    verbosity            -> 2
  
  *    enablecache          -> TRUE
  
  *    mainfolder           -> "/tmp/RtmpDhaG7P/working_dir/RtmpAPaqZj"
  
  *    sourcefolder         -> "/tmp/RtmpDhaG7P/working_dir/RtmpAPaqZj/sources"
  
  *    cachefolder          -> "/tmp/RtmpDhaG7P/working_dir/RtmpAPaqZj/cache/rev0test"
  
  *    mappingfolder        -> "/tmp/RtmpDhaG7P/working_dir/RtmpAPaqZj/mappings"
  
  *    outputfolder         -> "/tmp/RtmpDhaG7P/working_dir/RtmpAPaqZj/rev0test_h12_example"
  
  *    pop_threshold        -> 1e+06
  
  *    nolabels             -> NULL
  
  *    forcecache           -> TRUE
  
  *    ignorecache          -> FALSE
  
  *    cachecompression     -> "gzip"
  
  *    hash                 -> "xxhash32"
  
  *    delete_cache         -> TRUE
  
  *    diagnostics          -> "diagnostics"
  
  *    nocores              -> 1
  
  *    debug                -> FALSE
  
  *    indentationCharacter -> "~"
  
  *    maxLengthLogMessage  -> 200
  
  * 
  
  * Run retrieveData(model = "example", dev = "test")
  
  *  - execute function madrat:::fullEXAMPLE(rev=rev, dev=dev)
  
  * Here you could execute code for a hypothetical development version called "test"
  
  *  - function madrat:::fullEXAMPLE(rev=rev, dev=dev) finished
  
  * Exit retrieveData(model = "example", dev = "test") in 0.11 seconds
  
  ── Failure (test-retrieveData.R:37:3): a tag can be appended to filename ───────
  file.exists(paste0(getConfig("outputfolder"), "/rev0_h12_test_some_tag.tgz")) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure (test-retrieveData.R:52:3): retrieveData works if no tag is returned ──
  file.exists(paste0(getConfig("outputfolder"), "/rev0_h12_testtwo.tgz")) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 4 | WARN 3 | SKIP 6 | PASS 388 ]
  Error: Test failures
  Execution halted