Running ‘testthat.R’ [1m/11m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(restatapi)
  restatapi: - config file with the API version 1 loaded from GitHub (the 'current' API version number is 1).
             - 4 from the 32 cores are used for parallel computing.
             - 'libcurl' will be used for file download.
             - the Table of contents (TOC) was not pre-loaded into the deafult cache ('.restatapi_env').
  > 
  > test_check("restatapi")
  trying URL 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&file=table_of_contents_en.txt'
  Content type 'application/octet-stream;charset=UTF-8' length 1492326 bytes (1.4 MB)
  ==================================================
  downloaded 1.4 MB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_NAMA_10_GDP'
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id0%09keep_flags%3DFALSE%09cflags%3DTRUE'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/htec_cis3.tsv.gz'
  Content type 'application/octet-stream;charset=UTF-8' length 5116 bytes
  ==================================================
  downloaded 5116 bytes
  
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id0%09stringsAsFactors%3DFALSE'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/ds-066341.tsv.gz'
  downloaded 13 KB
  
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id0%09verbose%3DFALSE'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/ds-066341.tsv.gz'
  downloaded 13 KB
  
  trying URL 'http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/agr_r_milkpr.sdmx.zip'
  Content type 'application/octet-stream;charset=UTF-8' length 78305 bytes (76 KB)
  ==================================================
  downloaded 76 KB
  
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id1%09stringsAsFactors%3DFALSE%09keep_flags%3DTRUE'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id1%09date_filter%3D2008%09stringsAsFactors%3DFALSE%09keep_flags%3DTRUE'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31'
  trying URL 'http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/irt_h_eurcoe_d.tsv.gz'
  Content type 'application/octet-stream;charset=UTF-8' length 145791 bytes (142 KB)
  ==================================================
  downloaded 142 KB
  
  trying URL 'http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/irt_h_eurcoe_d.tsv.gz'
  Content type 'application/octet-stream;charset=UTF-8' length 145791 bytes (142 KB)
  ==================================================
  downloaded 142 KB
  
  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 297076 bytes (290 KB)
  ==================================================
  downloaded 290 KB
  
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id1%09filters%3D2018%09stringsAsFactors%3DFALSE'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_agr_r_milkpr'
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id1%09date_filter%3D22020'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id1%09date_filter%3D<2006<%09cache_dir%3Dtempdir()'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id2%09filters%3DHU%09date_filter%3D2017-03%09label%3DTRUE%09select_freq%3DQ'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_avia_par_me'
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/avia_par_me/?startPeriod=2017-03-01&endPeriod=2017-03-31'
  trying URL 'http://restatapi.azurewebsites.net/restatapi.php?params=0.8.6%09id%3Dteszt_id1%09filters%3D2018%09cflags%3DTRUE'
  Content type 'text/html; charset=UTF-8' length 7 bytes
  ==================================================
  downloaded 7 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_agr_r_milkpr'
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_agr_r_milkpr'
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_avia_par_me'
  ── 1. Failure: test of the get/put_eurostat_cache function (@test-all.R#216)  ──
  exists("agr_r_milkpr.dsd", envir = .restatapi_env) isn't true.
  
  ── 2. Failure: test of the get/put_eurostat_cache function (@test-all.R#217)  ──
  exists("avia_par_me.dsd", envir = .restatapi_env) isn't true.
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_avia_par_me'
  trying URL 'http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/tus_00age.tsv.gz'
  Content type 'application/octet-stream;charset=UTF-8' length 423310 bytes (413 KB)
  ==================================================
  downloaded 413 KB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_tus_00age'
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 61 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Failure: test of the get/put_eurostat_cache function (@test-all.R#216) 
  2. Failure: test of the get/put_eurostat_cache function (@test-all.R#217) 
  
  Error: testthat unit tests failed
  Execution halted