CRAN Package Check Results for Maintainer ‘Sebastian Weinand <sebastian.weinand at ec.europa.eu>’

Last updated on 2025-08-30 01:50:05 CEST.

Package ERROR OK
hicp 1 12

Package hicp

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [44s] 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 The following object is masked from 'package:utils': data > > test_check("hicp") 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 an error by the reading of the downloaded DSD file. Run the same command with verbose=TRUE option to get more info on the issue. get_eurostat_dsd - There is an error by the reading of the downloaded DSD file. Run the same command with verbose=TRUE option to get more info on the issue. Could not download the DSD. The filter is ignored There is a warning by the reading of the CSV file. Run the same command with verbose=TRUE option to get more info on the issue. 404 - No data retrived with the given filter(s) [ FAIL 8 | WARN 1 | SKIP 0 | PASS 470 ] ══ 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:27: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:28:1'): (code run outside of `test_that()`) ────── names(dt2) (`actual`) not equal to c("concept", "code", "name") (`expected`). `actual`: `expected`: "concept" "code" "name" ── Failure ('test_hicp.data.r:39:1'): (code run outside of `test_that()`) ────── nrow(dt3) > 0 (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test_hicp.data.r:40:1'): (code run outside of `test_that()`) ────── names(dt3) (`actual`) not equal to c("coicop", "geo", "time", "values") (`expected`). `actual`: `expected`: "coicop" "geo" "time" "values" ── Failure ('test_hicp.data.r:41:1'): (code run outside of `test_that()`) ────── unique(as.character(dt3$geo)) (`actual`) not equal to "EA" (`expected`). `actual`: `expected`: "EA" ── Failure ('test_hicp.data.r:42:1'): (code run outside of `test_that()`) ────── min(as.integer(dt3$time)) (`actual`) not equal to 2020 (`expected`). `actual`: Inf `expected`: 2020.0 [ FAIL 8 | WARN 1 | SKIP 0 | PASS 470 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64