Running ‘tinytest.R’ [31s/53s]
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.20.3
             - 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    
  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 - API version:2 - number of cores:2
  get_eurostat_toc - API version:2 - number of cores:2
  get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
  xml_nodeset
  number of nodes: 8983
  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;32mOK[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;32mOK[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;32mOK[0m get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
  get_eurostat_toc - Warning by the download of the xml version of the TOC file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml': status was 'Failure when receiving data from the peer'
  readBin(3, "raw", 65536)
  get_eurostat_toc - The TOC is empty. Please check the download link form the line above in a web browser.
  
  test_restatapi.R..............    7 tests [0;32mOK[0m 
   ########--------- 8 test of the search_eurostat_toc function
  
  test_restatapi.R..............    8 tests [0;32mOK[0m 
  test_restatapi.R..............    8 tests [0;32mOK[0m 
   ########--------- 10 test of the get_eurostat_dsd function
  
  test_restatapi.R..............    8 tests [0;32mOK[0m 
  get_eurostat_dsd - API version:2
  get_eurostat_dsd - API version:2
  
  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..............    9 tests [0;32mOK[0m 
  get_eurostat_dsd - API version:2
  get_eurostat_dsd - API version:2
  
  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
  
  get_eurostat_dsd - Warning by the download of the DSD file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/NAMA_10_GDP?references=children': status was 'Failure when receiving data from the peer'
  utils::download.file(dsd_endpoint, temp, dmethod)
  Trying to extract the DSD from: /home/hornik/tmp/scratch/RtmpWzVrLO/file311c6b657923cb
  get_eurostat_dsd - Error during the extraction of the XML from the downloaded DSD file:
  expected '>' [73]
  read_xml.character(temp)
  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/NAMA_10_GDP?references=children
  
  test_restatapi.R..............    9 tests [0;32mOK[0m 
  test_restatapi.R..............    9 tests [0;32mOK[0m 
  test_restatapi.R..............    9 tests [0;32mOK[0m 
  test_restatapi.R..............    9 tests [0;32mOK[0m 
  test_restatapi.R..............    9 tests [0;32mOK[0m 
  test_restatapi.R..............    9 tests [0;32mOK[0m 
  get_eurostat_data - API version:2
  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 - select_freq:
  get_eurostat_data - Trying to get from cache: b_htec_cis3-2023.03.04-1-1
  
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - charactertxtlogicallogicalNULLlogicallogicallogicallogicalfunctionlogical
  
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/htec_cis3?format=TSV&compressed=true
  get_eurostat_raw - class:data.tabledata.frame
  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 - The data was downloaded with bulk download.
  get_eurostat_data - bulk restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
  get_eurostat_data - cflags:TRUE
  get_eurostat_data - restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
  get_eurostat_data - processed restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
  get_eurostat_data - The data was cached in memory ('b_htec_cis3-2023.03.04-1-1' in '.restatapi_env').
  
  test_restatapi.R..............    9 tests [0;32mOK[0m 
  test_restatapi.R..............    9 tests [0;32mOK[0m 
  get_eurostat_data - API version:2
  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 - select_freq:
  get_eurostat_data - Trying to get from cache: b_htec_cis3-2023.03.04-0-0
  
  get_eurostat_cache - The 'b_htec_cis3-2023.03.04-0-0' was loaded from 'b_htec_cis3-2023.03.04-1-1' in '.restatapi_env'.
  get_eurostat_data - The data was loaded from cache.
  get_eurostat_data - cached restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
  get_eurostat_data - restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
  get_eurostat_data - processed restat - nrow:1006; ncol:6; colnames:indic_in/nace_r1/unit/geo/time/values
  get_eurostat_data - The data was cached in memory ('b_htec_cis3-2023.03.04-0-0' in '.restatapi_env').
  
  test_restatapi.R..............    9 tests [0;32mOK[0m 
  test_restatapi.R..............    9 tests [0;32mOK[0m 
   ########--------- 21 test of the get_eurostat_data function
  
   ########--------- 22 test of the get_eurostat_data function
  
   ########--------- 23 test of the get_eurostat_data function
  
   ########--------- 24 test of the get_eurostat_data function
  
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=sdmx_2.1_structured&compressed=true
  get_eurostat_raw - format:gz
  get_compressed_sdmx - url:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=sdmx_2.1_structured&compressed=true
  get_compressed_sdmx - format:gz
  get_compressed_sdmx - Warning by the retrieval and extraction of the SDMX file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=sdmx_2.1_structured&compressed=true': status was 'Failure when receiving data from the peer'
  readBin(4, "raw", 65536)
  get_compressed_sdmx - xml NULL:TRUE
  Could not download the SDMX file, use the verbose option to see the exact cause of the error.
  get_eurostat_raw - caching in raw:TRUE local filter:FALSE called from:get_eurostat_rawtestid4xmlTRUETRUE
  get_eurostat_raw - FALSE
  
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  get_eurostat_data - API version:2
  get_eurostat_data - footer code option value at start:
  get_eurostat_data - footer code option value after reset:
  get_eurostat_data - id:agr_r_milkpr
  get_eurostat_data - select_freq:
  get_eurostat_data - Trying to get from cache: b_agr_r_milkpr-2023.03.04-1-0
  
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - charactertxtlogicallogicalNULLlogicallogicallogicallogicalfunctionlogical
  
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=TSV&compressed=true
  get_eurostat_raw - Warning by the reading in with data.table the downloaded TSV file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=TSV&compressed=true': status was 'Failure when receiving data from the peer'
  readLines(gzcon(url(bulk_url)))
  The file download was not successful. Try again later.
  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..............   13 tests [0;32mOK[0m 
  get_eurostat_data - API version:2
  get_eurostat_data - footer code option value at start:
  get_eurostat_data - footer code option value after reset:
  get_eurostat_data - id:agr_r_milkpr
  get_eurostat_data - select_freq:
  get_eurostat_data - date_filter: 2008
  
  create_filter_table - filters class: numeric; size: 1; filters:2008
  create_filter_table - filters: 2008; is numeric: TRUE; call parents: 7
  length df: 1 -*- df: 2008
  create_filter_table -  2008 date filter length: 1, nchar date_filter: 4
  get_eurostat_data - date_filter: 2008 nrow dft: 1
  -?startPeriod=2008-01-01&endPeriod=2008-12-31
  https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31'
  downloaded 106 KB
  
  get_eurostat_data - Warning by the download the xml file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31': status was 'Failure when receiving data from the peer'
  utils::download.file(x, temp, dmethod, quiet = !verbose)
  get_eurostat_data - Error by the extraction of the footer from the xml:
  StartTag: invalid element name [68]
  read_xml.character(temp)
  Problem by the extraction of the footer information from the xml_file.
  get_eurostat_data - footer code option value after retrieval:
  404 - No data retrived with the given filter(s)
  get_eurostat_data - processed restat - nrow:; ncol:; colnames:
  
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true
  get_eurostat_raw - Warning by the reading in with data.table the downloaded TSV file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true': status was 'Failure when receiving data from the peer'
  readLines(gzcon(url(bulk_url)))
  The file download was not successful. Try again later.
  get_eurostat_raw - caching in raw:TRUE local filter:FALSE called from:get_eurostat_rawtestid5TRUE
  get_eurostat_raw - FALSE
  
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - charactertxtlogicallogicalNULLlogicallogicallogicallogicalfunctionlogical
  
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true
  get_eurostat_raw - Warning by the reading in with data.table the downloaded TSV file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true': status was 'Failure when receiving data from the peer'
  readLines(gzcon(url(bulk_url)))
  The file download was not successful. Try again later.
  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
  
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  
  get_eurostat_toc - API version:2 - number of cores:2
  get_eurostat_toc - API version:2 - number of cores:2
  
  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.
  get_eurostat_raw - raw TOC rows: 7417
  bulk url: https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/irt_h_eurcoe_d.sdmx.zip
  data rowcount: 29862
  get_eurostat_raw - format:zip
  get_compressed_sdmx - url:https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/irt_h_eurcoe_d.sdmx.zip
  get_compressed_sdmx - format:zip
  trying URL 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/irt_h_eurcoe_d.sdmx.zip'
  Content type 'application/octet-stream;charset=UTF-8' length 297155 bytes (290 KB)
  ==================================================
  downloaded 290 KB
  
  get_eurostat_raw - xml_nodeset
  number of nodes: 18
  number of cores: 2
  
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  
  extract_data - API version:2
  get_eurostat_raw - caching in raw:TRUE local filter:FALSE called from:get_eurostat_rawtestid5xmlTRUETRUETRUETRUETRUE
  get_eurostat_raw - FALSE
  get_eurostat_raw - The raw data was cached in memory ('r_irt_h_eurcoe_d-2009.03.26-1' in '.restatapi_env').
  
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - charactertxtlogicallogicalNULLlogicallogicallogicallogicalfunctionlogical
  
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true
  get_eurostat_raw - Warning by the reading in with data.table the downloaded TSV file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true': status was 'Failure when receiving data from the peer'
  readLines(gzcon(url(bulk_url)))
  The file download was not successful. Try again later.
  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
  
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  test_restatapi.R..............   13 tests [0;32mOK[0m 
  test_restatapi.R..............   13 tests [0;32mOK[0m 
   ########--------- 37 test of filtering in the get_eurostat_data function
  
  test_restatapi.R..............   13 tests [0;32mOK[0m trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children'
  downloaded 1.0 MB
  
  
  test_restatapi.R..............   14 tests [0;32mOK[0m 
   ########--------- 38 test of filtering in the get_eurostat_data function
  
  test_restatapi.R..............   14 tests [0;32mOK[0m 
  test_restatapi.R..............   15 tests [0;32mOK[0m 
   ########--------- 39 test of filtering in the get_eurostat_data function
  
  test_restatapi.R..............   15 tests [0;32mOK[0m 
  test_restatapi.R..............   16 tests [0;32mOK[0m 
  test_restatapi.R..............   16 tests [0;32mOK[0m 
  test_restatapi.R..............   16 tests [0;32mOK[0m 
   ########--------- 44 test of filtering in the get_eurostat_data function
  
  test_restatapi.R..............   16 tests [0;32mOK[0m trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
  downloaded 9.6 MB
  
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me'
  Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 6241 bytes
  ==================================================
  downloaded 6241 bytes
  
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/avia_par_me/Q.../?startPeriod=2017-03-01&endPeriod=2017-03-31'
  Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 947 bytes
  ==================================================
  downloaded 947 bytes
  
  
  test_restatapi.R..............   17 tests [0;32mOK[0m 
   ########--------- 45 test of filtering in the get_eurostat_data function
  
  test_restatapi.R..............   17 tests [0;32mOK[0m 
  test_restatapi.R..............   18 tests [0;32mOK[0m 
  get_eurostat_data - API version:2
  get_eurostat_data - footer code option value at start:
  get_eurostat_data - footer code option value after reset:
  get_eurostat_data - id:agr_r_milkpr
  get_eurostat_data - select_freq:
  
  get_eurostat_dsd - API version:2
  get_eurostat_dsd - API version:2
  
  get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children'
  downloaded 1.0 MB
  
  get_eurostat_dsd - Warning by the download of the DSD file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children': status was 'Failure when receiving data from the peer'
  utils::download.file(dsd_endpoint, temp, dmethod)
  Trying to extract the DSD from: /home/hornik/tmp/scratch/RtmpWzVrLO/file311c6b67e70330
  get_eurostat_dsd - Error during the extraction of the XML from the downloaded DSD file:
  Specification mandates value for attribute maintainablePar [41]
  read_xml.character(temp)
  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/agr_r_milkpr?references=children
  Could not download the DSD. The filter is ignored
  -
  None of the filter could be applied. The whole dataset will be retrieved through bulk download.
  
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - API version:2
  get_eurostat_bulk - charactertxtlogicallogicalNULLlogicallogicallogicallogicalfunctionlogical
  
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=TSV&compressed=true
  get_eurostat_raw - Warning by the reading in with data.table the downloaded TSV file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=TSV&compressed=true': status was 'Failure when receiving data from the peer'
  readLines(gzcon(url(bulk_url)))
  The file download was not successful. Try again later.
  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..............   18 tests [0;32mOK[0m 
  test_restatapi.R..............   18 tests [0;32mOK[0m 
  get_eurostat_dsd - API version:2
  get_eurostat_dsd - API version:2
  
  get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children'
  downloaded 1.0 MB
  
  get_eurostat_dsd - Warning by the download of the DSD file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children': status was 'Failure when receiving data from the peer'
  utils::download.file(dsd_endpoint, temp, dmethod)
  Trying to extract the DSD from: /home/hornik/tmp/scratch/RtmpWzVrLO/file311c6b292c24b2
  get_eurostat_dsd - Error during the extraction of the XML from the downloaded DSD file:
  Specification mandates value for attribute maintainablePar [41]
  read_xml.character(temp)
  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/agr_r_milkpr?references=children
  
  test_restatapi.R..............   18 tests [0;32mOK[0m 
  test_restatapi.R..............   18 tests [0;32mOK[0m 
  get_eurostat_dsd - API version:2
  
  get_eurostat_cache - The 'avia_par_me.dsd' was loaded from 'avia_par_me.dsd' in '.restatapi_env'.
  
  test_restatapi.R..............   18 tests [0;32mOK[0m 
  test_restatapi.R..............   18 tests [0;32mOK[0m 
  test_restatapi.R..............   18 tests [0;32mOK[0m 
   ########--------- 54 test of the get/put_eurostat_cache function
  
   ########--------- 55 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   20 tests [0;32mOK[0m 
  test_restatapi.R..............   20 tests [0;32mOK[0m 
  test_restatapi.R..............   20 tests [0;32mOK[0m 
   ########--------- 59 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   21 tests [0;32mOK[0m 
   ########--------- 60 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   21 tests [0;32mOK[0m 
  test_restatapi.R..............   22 tests [0;32mOK[0m 
  test_restatapi.R..............   22 tests [0;32mOK[0m 
   ########--------- 63 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   22 tests [0;32mOK[0m 
  test_restatapi.R..............   23 tests [0;32mOK[0m 
  test_restatapi.R..............   23 tests [0;32mOK[0m 
   ########--------- 68 test of the get/put_eurostat_cache function
  
   ########--------- 69 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   25 tests [0;32mOK[0m 
   ########--------- 70 test of the get/put_eurostat_cache function
  
   ########--------- 71 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   27 tests [0;32mOK[0m 
   ########--------- 72 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   27 tests [0;32mOK[0m 
  test_restatapi.R..............   28 tests [0;32mOK[0m 
  test_restatapi.R..............   28 tests [0;32mOK[0m 
  test_restatapi.R..............   28 tests [0;32mOK[0m 
   ########--------- 75 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   28 tests [0;32mOK[0m 
  test_restatapi.R..............   29 tests [0;32mOK[0m 
   ########--------- 76 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   30 tests [0;32mOK[0m 
   ########--------- 77 test of the get/put_eurostat_cache function
  
  test_restatapi.R..............   31 tests [0;31m1 fails[0m 
  create_filter_table - filters class: character; size: 14; filters:2017-032001-03:2005<2017-07-012012201320142018<20912<3452<:2018-04>2<034v2008:20132019-04-322019-02-31
  create_filter_table - filters: 2017-032001-03:2005<2017-07-012012201320142018<20912<3452<:2018-04>2<034v2008:20132019-04-322019-02-31; is numeric: FALSE; call parents: 6
  length df: 13 -*- df: c, 2017-03, 2001-03:2005, <2017-07-01, 2012:2014, 2018<, 20912, <3452<, :2018-04>, 2<034v, 2008:2013, 2019-04-32, 2019-02-31
  The date filter had invalid character (not 0-9, '-', '<', '>' or ':'). Those characters removed from the date filter.
  create_filter_table -  2017-03, create_filter_table -  2001-03:2005, create_filter_table -  <2017-07-01, create_filter_table -  2012:2014, create_filter_table -  2018<, create_filter_table -  20912, create_filter_table -  <3452<, create_filter_table -  :2018-04>, create_filter_table -  2<034, create_filter_table -  2008:2013, create_filter_table -  2019-04-32, create_filter_table -  2019-02-31 date filter length: 12, nchar date_filter: 7,12,11,9,5,5,6,9,5,9,10,10
  Could not parse date filter: '20912' not in [<>]yyyy[-mm][-dd][<>] format or incorrect date value. The date filter is ignored.
  Could not parse date filter: '<3452<'. This date filter is ignored.
  Could not parse date filter: ':2018-04>'. This date filter is ignored.
  Could not parse date filter: '2<034' not in [<>]yyyy[-mm][-dd][<>] format or incorrect date value. The date filter is ignored.
  Could not parse date filter: '2019-04-32' not in [<>]yyyy[-mm][-dd][<>] format or incorrect date value. The date filter is ignored.
  
  test_restatapi.R..............   31 tests [0;31m1 fails[0m 
  create_filter_table - filters class: character; size: 14; filters:2017-032001-03:2005<2017-07-012012201320142016<20912<3452<:2018-04>2<034v2008:20132019-04-322019-02-31
  create_filter_table - filters: 2017-032001-03:2005<2017-07-012012201320142016<20912<3452<:2018-04>2<034v2008:20132019-04-322019-02-31; is numeric: FALSE; call parents: 6
  length df: 13 -*- df: c, 2017-03, 2001-03:2005, <2017-07-01, 2012:2014, 2016<, 20912, <3452<, :2018-04>, 2<034v, 2008:2013, 2019-04-32, 2019-02-31
  The date filter had invalid character (not 0-9, '-', '<', '>' or ':'). Those characters removed from the date filter.
  create_filter_table -  2017-03, create_filter_table -  2001-03:2005, create_filter_table -  <2017-07-01, create_filter_table -  2012:2014, create_filter_table -  2016<, create_filter_table -  20912, create_filter_table -  <3452<, create_filter_table -  :2018-04>, create_filter_table -  2<034, create_filter_table -  2008:2013, create_filter_table -  2019-04-32, create_filter_table -  2019-02-31 date filter length: 12, nchar date_filter: 7,12,11,9,5,5,6,9,5,9,10,10
  Could not parse date filter: '20912' not in [<>]yyyy[-mm][-dd][<>] format or incorrect date value. The date filter is ignored.
  Could not parse date filter: '<3452<'. This date filter is ignored.
  Could not parse date filter: ':2018-04>'. This date filter is ignored.
  Could not parse date filter: '2<034' not in [<>]yyyy[-mm][-dd][<>] format or incorrect date value. The date filter is ignored.
  Could not parse date filter: '2019-04-32' not in [<>]yyyy[-mm][-dd][<>] format or incorrect date value. The date filter is ignored.
  
  test_restatapi.R..............   31 tests [0;31m1 fails[0m 
   ########--------- 78 test of the create_filter_table function
  
  test_restatapi.R..............   31 tests [0;31m1 fails[0m 
  test_restatapi.R..............   32 tests [0;31m1 fails[0m 
   ########--------- 79 test of the create_filter_table function
  
  test_restatapi.R..............   32 tests [0;31m1 fails[0m 
  test_restatapi.R..............   33 tests [0;31m1 fails[0m 
   ########--------- 80 test of the create_filter_table function
  
  test_restatapi.R..............   33 tests [0;31m1 fails[0m 
  test_restatapi.R..............   34 tests [0;31m1 fails[0m 
   ########--------- 81 test of the create_filter_table function
  
  test_restatapi.R..............   34 tests [0;31m1 fails[0m 
  test_restatapi.R..............   35 tests [0;31m1 fails[0m 
   ########--------- 82 test of the create_filter_table function
  
  test_restatapi.R..............   35 tests [0;31m1 fails[0m 
  test_restatapi.R..............   36 tests [0;31m1 fails[0m 
   ########--------- 83 test of the create_filter_table function
  
  test_restatapi.R..............   36 tests [0;31m1 fails[0m 
  test_restatapi.R..............   37 tests [0;31m1 fails[0m 
  get_eurostat_dsd - API version:2
  
  get_eurostat_cache - The 'avia_par_me.dsd' was loaded from 'avia_par_me.dsd' in '.restatapi_env'.
  
  test_restatapi.R..............   37 tests [0;31m1 fails[0m 
  create_filter_table - filters class: character; size: 3; filters:KYIVDEQuarterly
  
  create_filter_table - filters class: character; size: 2; filters:flightMonthly
  
   ########--------- 84 test of the create_filter_table function
  
   ########--------- 85 test of the create_filter_table function
  
   ########--------- 86 test of the create_filter_table function
  
   ########--------- 87 test of the create_filter_table function
  
  test_restatapi.R..............   41 tests [0;31m1 fails[0m 
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/tus_00age?format=TSV&compressed=true
  get_eurostat_raw - Warning by the reading in with data.table the downloaded TSV file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/tus_00age?format=TSV&compressed=true': status was 'Failure when receiving data from the peer'
  readLines(gzcon(url(bulk_url)))
  The file download was not successful. Try again later.
  get_eurostat_raw - caching in raw:TRUE local filter:FALSE called from:get_eurostat_rawtestid7
  get_eurostat_raw - FALSE
  
  test_restatapi.R..............   41 tests [0;31m1 fails[0m 
  get_eurostat_dsd - API version:2
  get_eurostat_dsd - API version:2
  
  get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/tus_00age?references=children
  trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/tus_00age?references=children'
  downloaded 1.4 MB
  
  get_eurostat_dsd - Warning by the download of the DSD file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/tus_00age?references=children': status was 'Failure when receiving data from the peer'
  utils::download.file(dsd_endpoint, temp, dmethod)
  Trying to extract the DSD from: /home/hornik/tmp/scratch/RtmpWzVrLO/file311c6b6e03b72c
  get_eurostat_dsd - Error during the extraction of the XML from the downloaded DSD file:
  AttValue: ' expected [40]
  read_xml.character(temp)
  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/tus_00age?references=children
  
  test_restatapi.R..............   41 tests [0;31m1 fails[0m 
  test_restatapi.R..............   41 tests [0;31m1 fails[0m 
  get_eurostat_raw - API version:2
  get_eurostat_raw - API version:2
  get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/avia_par_me?format=TSV&compressed=true
  get_eurostat_raw - Warning by the reading in with data.table the downloaded TSV file:
  URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/avia_par_me?format=TSV&compressed=true': status was 'Failure when receiving data from the peer'
  readLines(gzcon(url(bulk_url)))
  The file download was not successful. Try again later.
  get_eurostat_raw - caching in raw:TRUE local filter:FALSE called from:get_eurostat_rawtestid6
  get_eurostat_raw - FALSE
  
  test_restatapi.R..............   41 tests [0;31m1 fails[0m 
  test_restatapi.R..............   41 tests [0;31m1 fails[0m 
  test_restatapi.R..............   41 tests [0;31m1 fails[0m 
  clean_restatapi_cache - All objects except from 'cfg', 'rav', 'cc' and 'dmethod' are removed from '.restatapi_env'.
  clean_restatapi_cache - The cache folder /home/hornik/tmp/scratch/RtmpWzVrLO/restatapi is empty.
  
  test_restatapi.R..............   41 tests [0;31m1 fails[0m 
  
  
  
  
  There are skipped tests: 9, 11-12, 13-20, 33, 34, 35-36, 40, 41-43, 46, 47-53, 56-57, 58, 61-62, 64-67, 73, 74, 88-90, 91-93
  
  test_restatapi.R..............   41 tests [0;31m1 fails[0m 
  
  Skipped tests:  9, 11-12, 13-20, 33, 34, 35-36, 40, 41-43, 46, 47-53, 56-57, 58, 61-62, 64-67, 73, 74, 88-90, 91-93 
  config version: 2 
  
  test_restatapi.R..............   41 tests [0;31m1 fails[0m [0;34m51.1s[0m
  ----- FAILED[data]: test_restatapi.R<318--321>
   call| expect_true(any(sapply(bt4, is.factor)))
   diff| Expected TRUE, got FALSE
  Error: 1 out of 41 tests failed
  Execution halted