Running 'testthat.R' [56s/49s]
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 1528214 bytes (1.5 MB)
  ==================================================
  downloaded 1.5 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 80065 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 297155 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 44664 bytes (43 KB)
  ==================================================
  downloaded 43 KB
  
     concept code
  1:    FREQ    Q
             sd         ed
  1: 2017-03-01 2017-03-31
  == Failed tests ================================================================
  -- Error (test-all.R:147:1): (code run outside of `test_that()`) ---------------
  Error: missing value where TRUE/FALSE needed
  Backtrace:
      x
   1. \-restatapi::get_eurostat_data(teszt_id1, filters = "2018", cflags = TRUE) test-all.R:147:0
   2.   \-restatapi::get_eurostat_bulk(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 45 ]
  Error: Test failures
  Execution halted