Running 'tinytest.R' [1s/4s]
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: - version 0.13.3
             - 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').
  
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  clean_restatapi_cache - All objects except from 'cfg', 'rav', 'cc' and 'dmethod' are removed from '.restatapi_env'.
  
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  test_restatapi.R..............    0 tests    
  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 - Error during the download of the xml version of the TOC file:
  xmlParseEntityRef: no name [68]
  read_xml.raw(raw, encoding = encoding, base_url = base_url, as_html = as_html, options = options)
  get_eurostat_toc - The TOC is empty. Please check the download link form the line above in a web browser.
  
  test_restatapi.R..............    0 tests    
  get_eurostat_toc - 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'
  Content type 'text/html' length 37678 bytes (36 KB)
  ==================================================
  downloaded 36 KB
  
  Error in names(toc) <- c("title", "code", "type", "lastUpdate", "lastModified",  : 
    'names' attribute [8] must be the same length as the vector [1]
  Calls: <Anonymous> ... run_test_dir -> lapply -> FUN -> eval -> eval -> get_eurostat_toc
  Execution halted