Running ‘tinytest.R’ [28s/36s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   home <- length(unclass(packageVersion("restatapi"))[[1]]) == 4
  +   tinytest::test_package("restatapi", at_home = home)
  + }
  restatapi: - version 0.14.1
             - config file with the API version 2 loaded from GitHub (the 'current' API version number is 2).
             - 4 from the 32 cores are used for parallel computing, can be changed with 'options(restatapi_cores=...)'
             - 'auto' method will be used for file download, can be changed with 'options(restatapi_dmethod=...)'
             - the Table of contents (TOC) was not pre-loaded into the deafult cache ('.restatapi_env').
  
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  clean_restatapi_cache - All objects except from 'cfg', 'rav', 'cc' and 'dmethod' are removed from '.restatapi_env'.
  
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
  xml_nodeset
  number of nodes: 8979
  number of cores: 2
  
  get_eurostat_toc - The TOC was cached in memory ('toc.xml.en' in '.restatapi_env').
  
  
  test_restatapi.R..............    0 tests    
  get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=en
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=en'
  downloaded 1.6 MB
  
  get_eurostat_toc - The TOC was cached in memory ('toc.txt.en' in '.restatapi_env').
  
  
  test_restatapi.R..............    0 tests    
  get_eurostat_cache - The 'toc.xml.en' was loaded from 'toc.xml.en' in '.restatapi_env'.
  get_eurostat_toc - The TOC was cached previously in memory ('toc.xml.en' in '.restatapi_env'). It remained unchanged.
  
  
  test_restatapi.R..............    0 tests    
   ########--------- 1 test of the get_eurostat_toc function
  
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    1 tests [0;32mOK[0m 
   ########--------- 2 test of the get_eurostat_toc function
  
   ########--------- 3 test of the get_eurostat_toc function
  
   ########--------- 4 test of the get_eurostat_toc function
  
   ########--------- 5 test of the get_eurostat_toc function
  
   ########--------- 6 test of the get_eurostat_toc function
  
   ########--------- 7 test of the get_eurostat_toc function
  
  test_restatapi.R..............    7 tests [0;31m1 fails[0m 
  get_eurostat_cache - The 'toc.xml.en' was loaded from 'toc.xml.en' in '.restatapi_env'.
  get_eurostat_toc - The TOC was cached previously in memory ('toc.xml.en' in '.restatapi_env'). It remained unchanged.
  
  
  test_restatapi.R..............    7 tests [0;31m1 fails[0m 
  get_eurostat_cache - The 'toc.xml.en' was loaded from 'toc.xml.en' in '.restatapi_env'.
  get_eurostat_toc - The TOC was cached previously in memory ('toc.xml.en' in '.restatapi_env'). It remained unchanged.
  
  
  test_restatapi.R..............    7 tests [0;31m1 fails[0m get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
  xml_nodeset
  number of nodes: 8979
  number of cores: 2
  
  get_eurostat_toc - The TOC was cached in memory ('toc.xml.de' in '.restatapi_env').
  
  
  test_restatapi.R..............    7 tests [0;31m1 fails[0m 
   ########--------- 8 test of the search_eurostat_toc function
  
  test_restatapi.R..............    8 tests [0;31m1 fails[0m 
   ########--------- 9 test of the search_eurostat_toc function
  
  test_restatapi.R..............    9 tests [0;31m1 fails[0m 
   ########--------- 10 test of the get_eurostat_dsd function
  
  test_restatapi.R..............    9 tests [0;31m1 fails[0m 
  get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/text?references=children
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/text?references=children'
  get_eurostat_dsd - Warning by the download of the DSD file:
  downloaded length 0 != reported length 0
  utils::download.file(dsd_endpoint, temp, dmethod)
  get_eurostat_dsd - The dsd_xml is NULL. Please check in a browser the url below. If it provides valid reponse you can try again to download the DSD.
   https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/text?references=children
  
  test_restatapi.R..............   10 tests [0;31m1 fails[0m 
  get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/NAMA_10_GDP?references=children
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/NAMA_10_GDP?references=children'
  downloaded 1.4 MB
  
  Trying to extract the DSD from: /home/hornik/tmp/scratch/RtmpDP4o06/file129af4365115ef
  get_eurostat_dsd - The DSD of the NAMA_10_GDP dataset was cached in memory ('NAMA_10_GDP.dsd' in '.restatapi_env').
  
  
  test_restatapi.R..............   10 tests [0;31m1 fails[0m 
   ########--------- 11 test of the get_eurostat_dsd function
  
   ########--------- 12 test of the get_eurostat_dsd function
  
  test_restatapi.R..............   12 tests [0;31m1 fails[0m 
  test_restatapi.R..............   12 tests [0;31m1 fails[0m 
  test_restatapi.R..............   12 tests [0;31m1 fails[0m 
  test_restatapi.R..............   12 tests [0;31m1 fails[0m 
   ########--------- 13 test of the search_eurostat_dsd function
  
   ########--------- 14 test of the search_eurostat_dsd function
  
   ########--------- 15 test of the search_eurostat_dsd function
  
   ########--------- 16 test of the search_eurostat_dsd function
  
   ########--------- 17 test of the search_eurostat_dsd function
  
   ########--------- 18 test of the search_eurostat_dsd function
  
   ########--------- 19 test of the search_eurostat_dsd function
  
   ########--------- 20 test of the search_eurostat_dsd function
  
  test_restatapi.R..............   20 tests [0;31m3 fails[0m 
  get_eurostat_data - footer code option value at start:
  get_eurostat_data - footer code option value after reset:
  get_eurostat_data - id:htec_cis3
  get_eurostat_data - Trying to get from cache: b_htec_cis3-2023.02.25-1-1
  
  get_eurostat_bulk - charactertxtlogicallogicalNULLlogicallogicallogicallogicalfunctionlogical
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/?file=data/htec_cis3.tsv.gz
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/?file=data/htec_cis3.tsv.gz'
  get_eurostat_raw - Warning by the download the TSV file:
  downloaded length 0 != reported length 0
  utils::download.file(bulk_url, temp, dmethod)
  get_eurostat_raw - /home/hornik/tmp/scratch/RtmpDP4o06/file129af41eab914a-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-0-TRUE
  get_eurostat_raw - caching in raw:FALSE local filter:FALSE called from:restatapi::get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
  get_eurostat_raw - FALSE
  get_eurostat_data - processed restat - nrow:; ncol:; colnames:
  
  test_restatapi.R..............   20 tests [0;31m3 fails[0m 
  test_restatapi.R..............   20 tests [0;31m3 fails[0m 
  get_eurostat_data - footer code option value at start:
  get_eurostat_data - footer code option value after reset:
  get_eurostat_data - id:htec_cis3
  get_eurostat_data - Trying to get from cache: b_htec_cis3-2023.02.25-0-0
  
  get_eurostat_bulk - charactertxtlogicallogicalNULLlogicallogicallogicallogicalfunctionlogical
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/?file=data/htec_cis3.tsv.gz
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/?file=data/htec_cis3.tsv.gz'
  get_eurostat_raw - Warning by the download the TSV file:
  downloaded length 0 != reported length 0
  utils::download.file(bulk_url, temp, dmethod)
  get_eurostat_raw - /home/hornik/tmp/scratch/RtmpDP4o06/file129af425feb1af-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-0-TRUE
  get_eurostat_raw - caching in raw:FALSE local filter:FALSE called from:restatapi::get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
  get_eurostat_raw - FALSE
  get_eurostat_data - processed restat - nrow:; ncol:; colnames:
  
  test_restatapi.R..............   20 tests [0;31m3 fails[0m 
  test_restatapi.R..............   20 tests [0;31m3 fails[0m 
  test_restatapi.R..............   20 tests [0;31m3 fails[0m 
   ########--------- 25 test of the get_eurostat_raw/bulk/data functions
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/?file=data/NA.tsv.gz'
  
   ########--------- 26 test of the get_eurostat_raw/bulk/data functions
  
   ########--------- 27 test of the get_eurostat_raw/bulk/data functions
  
   ########--------- 28 test of the get_eurostat_raw/bulk/data functions
  Error in all.equal.default(target, current, tolerance = tolerance, ...) : 
    object 'rt2' not found
  Calls: <Anonymous> ... expect_equal -> fun -> all.equal -> all.equal.default
  Execution halted