Running ‘tinytest.R’ [1s/16s]
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: - 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, 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').
  
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    All objects except from 'cfg', 'rav', 'cc' and 'dmethod' are removed from '.restatapi_env'.
  
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    
  Running test_restatapi.R..............    0 tests    get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&downfile=table_of_contents.xml
  get_eurostat_toc - Warning by the download of the xml version of the TOC file:
  URL 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&downfile=table_of_contents.xml': status was 'Failure when receiving data from the peer'
  open.connection(x, "rb")
  The TOC is empty. Please check the download link form the line above in a web browser.
  
  Running test_restatapi.R..............    0 tests    Downloading https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&file=table_of_contents_en.txt
  trying URL 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&file=table_of_contents_en.txt'
  get_eurostat_toc - Warning by the download of the tsv version of the TOC file:
  URL 'https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&file=table_of_contents_en.txt': status was 'Failure when receiving data from the peer'
  utils::download.file(toc_endpoint, temp, dmethod, quiet = !verbose)
  Error in read.table(file = file, header = header, sep = sep, quote = quote,  : 
    no lines available in input
  Calls: <Anonymous> ... eval -> get_eurostat_toc -> <Anonymous> -> read.table
  Execution halted