CRAN Package Check Results for Package melodi

Last updated on 2026-11-18 03:05:51 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 2.77 65.39 68.16 OK
r-devel-linux-x86_64-debian-gcc 1.2.1 2.05 51.45 53.50 OK
r-devel-linux-x86_64-fedora-clang 1.2.1 45.90 OK
r-devel-linux-x86_64-fedora-gcc 1.2.1 50.65 OK
r-devel-windows-x86_64 1.2.1 5.00 107.00 112.00 OK
r-patched-linux-x86_64 1.2.1 2.60 58.23 60.83 OK
r-release-linux-x86_64 1.2.1 2.71 58.21 60.92 OK
r-release-macos-arm64 1.2.1 1.00 80.00 81.00 OK
r-release-macos-x86_64 1.2.1 2.00 233.00 235.00 OK
r-release-windows-x86_64 1.2.1 5.00 100.00 105.00 OK
r-oldrel-macos-arm64 1.2.1 1.00 91.00 92.00 OK
r-oldrel-macos-x86_64 1.2.1 2.00 229.00 231.00 OK
r-oldrel-windows-x86_64 1.2.1 6.00 117.00 123.00 ERROR

Check Details

Version: 1.2.1
Check: tests
Result: ERROR Running 'testthat.R' [19s] 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.insee.fr/melodi/file/DS_SRCV_CONFIANCE/DS_SRCV_CONFIANCE_2025_CSV_FR Remove downloaded files Request dataset : https://api.insee.fr/melodi/catalog/DD_CNA_BRANCHES Request ZIP CSV file : https://api.insee.fr/melodi/file/DD_CNA_BRANCHES/DD_CNA_BRANCHES_CSV_FR Remove downloaded files Request dataset : https://api.insee.fr/melodi/catalog/DS_SRCV_CONFIANCE Could not get data: Unexpected content type "NA". * Expecting type "application/json" or suffix "json". 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 Could not get data: Unexpected content type "NA". * Expecting type "application/json" or suffix "json". 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 Could not get data: Unexpected content type "NA". * Expecting type "application/json" or suffix "json". Request all catalog : https://api.insee.fr/melodi/catalog/all Request all catalog : https://api.insee.fr/melodi/catalog/all Request all catalog : https://url-qui-n-existe-pas.com/catalog/all > Waiting 1.7s for retry backoff > Waiting 1.7s for retry backoff 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 Downloaded path : D:\temp\2026_11_14_01_50_00_6838\RtmpqKEUxj/TEST2.XLSX Request file : https://api.insee.fr/melodi/file/DS_EC_DECES/T1_DECES_JOUR_NAT_FR Temporary downloaded path : D:\temp\2026_11_14_01_50_00_6838\RtmpqKEUxj\file6db6061587044 Request file : https://api.insee.fr/melodi/file/DS_EC_DECES/T1_DECES_JOUR_NAT_FR Original file name from Melodi : T1_DECES_JOUR_NAT_FR.xlsx Move file to path : D:\temp\2026_11_14_01_50_00_6838\RtmpqKEUxj/T1_DECES_JOUR_NAT_FR.xlsx Remove temporary file : D:\temp\2026_11_14_01_50_00_6838\RtmpqKEUxj\file6db6061587044 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 4 | WARN 0 | SKIP 0 | PASS 55 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── 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 <simpleError> with message: no applicable method for 'filter' applied to an object of class "NULL" ── Error ('test-get_all_data.R:74:3'): get stringAsFactor OK ─────────────────── 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 <simpleError> with message: no applicable method for 'filter' applied to an object of class "NULL" ── Error ('test-get_all_data.R:87:3'): get all data national sans GEO ────────── 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 4 | WARN 0 | SKIP 0 | PASS 55 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64