Running 'testthat.R' [159s/166s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(restatapi)
  restatapi: The 'current' API version number is 1. Loaded config file with the API version number 1
             31 from the 32 cores are used for parallel computing.
  
  > 
  > 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 1455933 bytes (1.4 MB)
  ==================================================
  downloaded 1.4 MB
  
  -- 1. Failure: test of the search_eurostat_dsd function (@test-all.R#59)  ------
  nrow(search_eurostat_dsd(pattern, dsd, ignore.case = TRUE)) not equal to 19.
  1/1 mismatches
  [1] 21 - 19 == 2
  
  -- 2. Failure: test of the search_eurostat_dsd function (@test-all.R#60)  ------
  nrow(search_eurostat_dsd(pattern, dsd)) not equal to 15.
  1/1 mismatches
  [1] 17 - 15 == 2
  
  -- 3. Failure: test of the search_eurostat_dsd function (@test-all.R#61)  ------
  nrow(...) not equal to 41.
  1/1 mismatches
  [1] 44 - 41 == 3
  
  trying URL 'https://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 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/agr_r_milkpr.tsv.gz'
  Content type 'application/octet-stream;charset=UTF-8' length 27491 bytes (26 KB)
  ==================================================
  downloaded 26 KB
  
  trying URL 'https://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 22971 bytes (22 KB)
  ==================================================
  downloaded 22 KB
  
  trying URL 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/agr_r_milkpr.tsv.gz'
  Content type 'application/octet-stream;charset=UTF-8' length 27491 bytes (26 KB)
  ==================================================
  downloaded 26 KB
  
  trying URL 'https://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 22971 bytes (22 KB)
  ==================================================
  downloaded 22 KB
  
  trying URL 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/ei_bsfs_q.sdmx.zip'
  Content type 'application/octet-stream;charset=UTF-8' length 40552 bytes (39 KB)
  ==================================================
  downloaded 39 KB
  
  trying URL 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/avia_par_mk.tsv.gz'
  Content type 'application/octet-stream;charset=UTF-8' length 21570 bytes (21 KB)
  ==================================================
  downloaded 21 KB
  
  trying URL 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/avia_par_mk.sdmx.zip'
  Content type 'application/octet-stream;charset=UTF-8' length 96351 bytes (94 KB)
  ==================================================
  downloaded 94 KB
  
  == testthat results  ===========================================================
  [ OK: 72 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Failure: test of the search_eurostat_dsd function (@test-all.R#59) 
  2. Failure: test of the search_eurostat_dsd function (@test-all.R#60) 
  3. Failure: test of the search_eurostat_dsd function (@test-all.R#61) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  In .Internal(gc(verbose, reset, full)) :
    closing unused connection 4 (http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_text)
  Execution halted