Last updated on 2026-10-08 23:52:54 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.2 | 2.24 | 62.38 | 64.62 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.2 | 1.71 | 41.41 | 43.12 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.1.2 | 43.89 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.1.2 | 48.45 | OK | |||
| r-devel-windows-x86_64 | 1.1.2 | 5.00 | 97.00 | 102.00 | OK | |
| r-patched-linux-x86_64 | 1.1.2 | 2.36 | 54.81 | 57.17 | OK | |
| r-release-linux-x86_64 | 1.1.2 | OK | ||||
| r-release-macos-arm64 | 1.1.2 | 1.00 | 70.00 | 71.00 | OK | |
| r-release-macos-x86_64 | 1.1.2 | 2.00 | 154.00 | 156.00 | OK | |
| r-release-windows-x86_64 | 1.1.2 | 4.00 | 85.00 | 89.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.2 | OK | ||||
| r-oldrel-macos-x86_64 | 1.1.2 | 2.00 | 142.00 | 144.00 | OK | |
| r-oldrel-windows-x86_64 | 1.1.2 | 6.00 | 105.00 | 111.00 | OK |
Version: 1.1.2
Check: examples
Result: ERROR
Running examples in ‘melodi-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_all_data
> ### Title: Get all data from a dataset
> ### Aliases: get_all_data
>
> ### ** Examples
>
> data <- get_all_data("DS_TICM_PRATIQUES")
Request dataset : https://api.insee.fr/melodi/catalog/DS_TICM_PRATIQUES
Request ZIP CSV file : https://api-diffusion-catalogue-donnees-externe.insee.fr/file/DS_TICM_PRATIQUES/DS_TICM_PRATIQUES_CSV_FR
Error in `httr2::req_perform()`:
! Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_disk()`:
! Could not resolve hostname [api-diffusion-catalogue-donnees-externe.insee.fr]:
Could not resolve host: api-diffusion-catalogue-donnees-externe.insee.fr
Backtrace:
▆
1. └─melodi::get_all_data("DS_TICM_PRATIQUES")
2. └─httr2::req_perform(...)
3. └─httr2:::handle_resp(req, resp, error_call = error_call)
4. └─rlang::cnd_signal(resp)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [4s/5s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(melodi)
>
> test_check("melodi")
Request dataset : https://api.insee.fr/melodi/catalog/DS_SRCV_CONFIANCE
Request ZIP CSV file : https://api-diffusion-catalogue-donnees-externe.insee.fr/file/DS_SRCV_CONFIANCE/DS_SRCV_CONFIANCE_2025_CSV_FR
Saving _problems/test-get_all_data-8.R
Saving _problems/test-get_all_data-14.R
Request dataset : https://api.insee.fr/melodi/catalog/DD_CNA_BRANCHES
Request ZIP CSV file : https://api-diffusion-catalogue-donnees-externe.insee.fr/file/DD_CNA_BRANCHES/DD_CNA_BRANCHES_CSV_FR
Saving _problems/test-get_all_data-38.R
Saving _problems/test-get_all_data-44.R
Request dataset : https://api.insee.fr/melodi/catalog/DS_SRCV_CONFIANCE
Request ZIP CSV file : https://api-diffusion-catalogue-donnees-externe.insee.fr/file/DS_SRCV_CONFIANCE/DS_SRCV_CONFIANCE_2025_CSV_FR
Saving _problems/test-get_all_data-71.R
Saving _problems/test-get_all_data-77.R
Request dataset : https://api.insee.fr/melodi/catalog/DS_TICM_PRATIQUES
Request ZIP CSV file : https://api-diffusion-catalogue-donnees-externe.insee.fr/file/DS_TICM_PRATIQUES/DS_TICM_PRATIQUES_CSV_FR
Saving _problems/test-get_all_data-84.R
Saving _problems/test-get_all_data-90.R
Request dataset : https://api.insee.fr/melodi/catalog/DS_NEXISTEPAS
Request all catalog : https://api.insee.fr/melodi/catalog/all
Request all catalog : https://api.insee.fr/melodi/catalog/all
Total count request : https://api.insee.fr/melodi/data/DS_POPULATIONS_REFERENCE?FREQ=A&GEO=COM-44109&totalCount=TRUE&maxResult=0
Number of lines : 3
Total count request : https://api.insee.fr/melodi/data/DS_POPULATIONS_REFERENCE?TIME_PERIOD=1900&GEO=COM-44109&totalCount=TRUE&maxResult=0
Number of lines : 0
Total count request : https://api.insee.fr/melodi/data/DS_POPULATIONS_REFERENCE?totalCount=TRUE&maxResult=0
Number of lines : 106 065
Total count request : https://api.insee.fr/melodi/data/DS_NEXISTEPAS?totalCount=TRUE&maxResult=0
Total count request : https://api.insee.fr/melodi/data/DS_IPC_PRINC?IND_TYPE=IX&GEO=DEP-974&TIME_PERIOD=2026-01&PRODUCT_GROUP=4000&totalCount=TRUE&maxResult=0
Number of lines : 1
Request file : https://api.insee.fr/melodi/file/DS_EC_DECES/T1_DECES_JOUR_NAT_FR
Downloaded path : /home/hornik/tmp/scratch/RtmpbMGxcw/TEST2.XLSX
Total count request : https://api.insee.fr/melodi/data/DS_POPULATIONS_REFERENCE?GEO=DEP-69&totalCount=TRUE&maxResult=0
Number of lines : 3
Total count request : https://api.insee.fr/melodi/data/DS_POPULATIONS_REFERENCE?GEO=DEP-69&POPREF_MEASURE=PMUN&totalCount=TRUE&maxResult=0
Number of lines : 1
Total count request : https://api.insee.fr/melodi/data/DS_POPULATIONS_REFERENCE?GEO=EPCI-244400404%2ACOM&totalCount=TRUE&maxResult=0
Number of lines : 72
Total count request : https://api.insee.fr/melodi/data/DS_POPULATIONS_REFERENCE?GEO=EPCI-244400404%2ACOM&POPREF_MEASURE=PMUN&totalCount=TRUE&maxResult=0
Number of lines : 24
Request dataset : https://api.insee.fr/melodi/catalog/DS_EC_DECES
Request dataset range : https://api.insee.fr/melodi/range/DS_SUIVI_DDE_TOUR
Request dataset range : https://api.insee.fr/melodi/range/DS_SUIVI_DDE_TOUR
Request dataset range : https://api.insee.fr/melodi/range/DS_SUIVI_DDE_TOUR
Request dataset range : https://api.insee.fr/melodi/range/DS_SUIVI_DDE_TOUR
Request dataset range : https://api.insee.fr/melodi/range/DS_EC_DECES
Request dataset range : https://api.insee.fr/melodi/range/DS_IPCH_M
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 40 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_all_data.R:5:3'): get all data OK ────────────────────────
Expected `ds <- get_all_data("DS_SRCV_CONFIANCE")` not to throw any errors.
Actually got a <httr2_failure> with message:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_disk()`:
! Could not resolve hostname [api-diffusion-catalogue-donnees-externe.insee.fr]:
Could not resolve host: api-diffusion-catalogue-donnees-externe.insee.fr
── Error ('test-get_all_data.R:11:3'): get all data OK ─────────────────────────
<objectNotFoundError/error/condition>
Error in `eval(code, test_env)`: object 'ds' not found
Backtrace:
▆
1. ├─testthat::expect_gt(object = nrow(ds), expected = 0) at test-get_all_data.R:11:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::nrow(ds)
── Failure ('test-get_all_data.R:35:3'): get all data OK with malformed metadata ──
Expected `ds <- get_all_data("DD_CNA_BRANCHES")` not to throw any errors.
Actually got a <httr2_failure> with message:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_disk()`:
! Could not resolve hostname [api-diffusion-catalogue-donnees-externe.insee.fr]:
Could not resolve host: api-diffusion-catalogue-donnees-externe.insee.fr
── Error ('test-get_all_data.R:41:3'): get all data OK with malformed metadata ──
<objectNotFoundError/error/condition>
Error in `eval(code, test_env)`: object 'ds' not found
Backtrace:
▆
1. ├─testthat::expect_gt(object = nrow(ds), expected = 0) at test-get_all_data.R:41:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::nrow(ds)
── Failure ('test-get_all_data.R:65:3'): get stringAsFactor OK ─────────────────
Expected `ds <- get_all_data(ds_name = "DS_SRCV_CONFIANCE", stringsAsFactors = TRUE)` not to throw any errors.
Actually got a <httr2_failure> with message:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_disk()`:
! Could not resolve hostname [api-diffusion-catalogue-donnees-externe.insee.fr]:
Could not resolve host: api-diffusion-catalogue-donnees-externe.insee.fr
── Error ('test-get_all_data.R:74:3'): get stringAsFactor OK ───────────────────
<objectNotFoundError/error/condition>
Error in `eval(code, test_env)`: object 'ds' not found
Backtrace:
▆
1. └─testthat::expect_s3_class(object = ds$OBS_STATUS, class = "factor") at test-get_all_data.R:74:3
2. └─testthat::quasi_label(enquo(object))
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-get_all_data.R:81:3'): get all data national sans GEO ────────
Expected `ds <- get_all_data("DS_TICM_PRATIQUES")` not to throw any errors.
Actually got a <httr2_failure> with message:
Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_disk()`:
! Could not resolve hostname [api-diffusion-catalogue-donnees-externe.insee.fr]:
Could not resolve host: api-diffusion-catalogue-donnees-externe.insee.fr
── Error ('test-get_all_data.R:87:3'): get all data national sans GEO ──────────
<objectNotFoundError/error/condition>
Error in `eval(code, test_env)`: object 'ds' not found
Backtrace:
▆
1. ├─testthat::expect_gt(object = nrow(ds), expected = 0) at test-get_all_data.R:87:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::nrow(ds)
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 40 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc