Running ‘testthat.R’ [63s/77s]
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 'text/plain;charset=UTF-8' length 1516188 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'
  downloaded 37 KB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_text'
  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://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/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 80120 bytes (78 KB)
  ==================================================
  downloaded 78 KB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31'
  downloaded 201 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 '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://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_agr_r_milkpr'
  downloaded 116 KB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_avia_par_me'
  downloaded 24 KB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/avia_par_me/Q.../?startPeriod=2017-03-01&endPeriod=2017-03-31'
  Content type 'application/vnd.sdmx.generic+xml;version=2.1' length 1054 bytes
  ==================================================
  downloaded 1054 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/avia_par_me.tsv.gz'
  Content type 'application/octet-stream;charset=UTF-8' length 42664 bytes (41 KB)
  ==================================================
  downloaded 41 KB
  
     concept code
  1:    FREQ    Q
             sd         ed
  1: 2017-03-01 2017-03-31
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/agr_r_milkpr/...AT/'
  Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3983 bytes
  ==================================================
  downloaded 3983 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34/'
  downloaded 37 KB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31'
  downloaded 200 KB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31'
  downloaded 200 KB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL51+EL11+EL3+EL30+ES51+HR+HR03+HR04+HR01+HR02+ITF5+LV+LV0+LV00+HU22+RO4+SK01+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3+XK/'
  downloaded 127 KB
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/agr_r_milkpr/...BE/?startPeriod=2006-02-01&endPeriod=2008-06-05'
  Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 1822 bytes
  ==================================================
  downloaded 1822 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/agr_r_milkpr/...BE/?endPeriod=2008-12-31'
  Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3230 bytes
  ==================================================
  downloaded 3230 bytes
  
  trying URL 'http://ec.europa.eu/eurostat/SDMX/diss-web/rest/data/avia_par_me/M+Q...ME_LYPG_HU_LHBP+ME_LYTV_UA_UKKK/?startPeriod=2017-07-01&endPeriod=2017-07-01'
  downloaded 57 KB
  
  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'
  downloaded 33 KB
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-all.R:144:3): test of filtering in the get_eurostat_data function ──
  is.null(dt8) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 89 ]
  Error: Test failures
  Execution halted