Running ‘testthat.R’ [6s/144s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(hicp)
  
  Attaching package: 'hicp'
  
  The following object is masked from 'package:stats':
  
      aggregate
  
  > 
  > test_check("hicp")
  There is a warning by the download of the txt TOC file. Run the same command with verbose=TRUE option to get more info on the issue.
  There is an error by the reading of the downloaded txt TOC file. Run the same command with verbose=TRUE option to get more info on the issue.
  get_eurostat_dsd - There is a warning by the download of the DSD file. Run the same command with verbose=TRUE option to get more info on the issue.
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 281 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_hicp.data.r:14:1'): (code run outside of `test_that()`) ──────
  nrow(dt1) > 0 (`actual`) not equal to TRUE (`expected`).
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test_hicp.data.r:15:1'): (code run outside of `test_that()`) ──────
  names(dt1) (`actual`) not equal to c(...) (`expected`).
  
   actual | expected          
          - "title"        [1]
          - "code"         [2]
          - "type"         [3]
          - "lastUpdate"   [4]
          - "lastModified" [5]
          - "dataStart"    [6]
          - "dataEnd"      [7]
          - "values"       [8]
  ── Failure ('test_hicp.data.r:26:1'): (code run outside of `test_that()`) ──────
  nrow(dt2) > 0 (`actual`) not equal to TRUE (`expected`).
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test_hicp.data.r:27:1'): (code run outside of `test_that()`) ──────
  names(dt2) (`actual`) not equal to c("concept", "code", "name") (`expected`).
  
  `actual`:                          
  `expected`: "concept" "code" "name"
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 281 ]
  Error: Test failures
  Execution halted