CRAN Package Check Results for Package PNADCperiods

Last updated on 2026-04-25 13:50:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 7.16 281.47 288.63 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 4.79 214.48 219.27 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 14.00 343.05 357.05 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 13.00 318.48 331.48 ERROR
r-patched-linux-x86_64 0.1.1 6.00 220.33 226.33 OK
r-release-macos-arm64 0.1.1 2.00 72.00 74.00 OK
r-release-macos-x86_64 0.1.1 5.00 309.00 314.00 OK
r-release-windows-x86_64 0.1.1 10.00 235.00 245.00 OK
r-oldrel-macos-arm64 0.1.1 2.00 75.00 77.00 OK
r-oldrel-macos-x86_64 0.1.1 6.00 269.00 275.00 OK
r-oldrel-windows-x86_64 0.1.1 13.00 240.00 253.00 OK

Additional issues

M1mac

Check Details

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [203s/552s] 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(PNADCperiods) > > test_check("PNADCperiods") Saving _problems/test-calibration-correctness-211.R Saving _problems/test-calibration-correctness-249.R Saving _problems/test-calibration-correctness-291.R Saving _problems/test-calibration-correctness-329.R Saving _problems/test-calibration-correctness-368.R Saving _problems/test-calibration-correctness-408.R Saving _problems/test-calibration-correctness-435.R Saving _problems/test-calibration-correctness-476.R Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Saving _problems/test-edge-cases-363.R Saving _problems/test-edge-cases-366.R Saving _problems/test-integration-pipeline-35.R Saving _problems/test-integration-pipeline-83.R Saving _problems/test-integration-pipeline-165.R Saving _problems/test-integration-pipeline-212.R Saving _problems/test-integration-pipeline-258.R Saving _problems/test-integration-pipeline-359.R Saving _problems/test-integration-pipeline-409.R Saving _problems/test-pnadc-apply-periods-160.R Saving _problems/test-pnadc-apply-periods-228.R Saving _problems/test-pnadc-apply-periods-252.R Saving _problems/test-pnadc-apply-periods-276.R Saving _problems/test-pnadc-apply-periods-292.R [ FAIL 22 | WARN 18 | SKIP 12 | PASS 1472 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • On CRAN (9): 'test-fetch-sidra-population.R:14:3', 'test-fetch-sidra-population.R:34:3', 'test-fetch-sidra-population.R:148:3', 'test-fetch-sidra-population.R:174:3', 'test-fetch-sidra-population.R:199:3', 'test-fetch-sidra-population.R:233:3', 'test-fetch-sidra-population.R:267:3', 'test-fetch-sidra-series.R:398:3', 'test-pnadc-apply-periods.R:167:3' • empty test (2): 'test-calibration-correctness.R:126:1', 'test-pnadc-identify-periods.R:160:1' • sidrar is installed, skipping missing package test (1): 'test-fetch-sidra-population.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-calibration-correctness.R:204:5'): no negative weights are produced in any calibration unit ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-calibration-correctness.R:204:5 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-calibration-correctness.R:242:3'): anchor='year' produces valid calibrated weights ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-calibration-correctness.R:242:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-calibration-correctness.R:283:3'): indeterminate observations have NA weights ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-calibration-correctness.R:283:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-calibration-correctness.R:321:3'): keep_all=FALSE excludes indeterminate observations ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-calibration-correctness.R:321:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-calibration-correctness.R:361:3'): calibration works with single quarter data ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-calibration-correctness.R:361:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Failure ('test-calibration-correctness.R:399:3'): calibration handles empty periods gracefully ── Expected `{ ... }` not to throw any errors. Actually got a <simpleError> with message: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds ── Error ('test-calibration-correctness.R:427:3'): smooth=TRUE modifies weights differently than smooth=FALSE ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-calibration-correctness.R:427:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-calibration-correctness.R:468:3'): smoothing produces valid non-negative weights ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10004 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-calibration-correctness.R:468:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Failure ('test-edge-cases.R:354:3'): zero weights in input handled ────────── Expected `{ ... }` not to throw any errors. Actually got a <simpleError> with message: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds ── Error ('test-edge-cases.R:366:3'): zero weights in input handled ──────────── <objectNotFoundError/error/condition> Error in `eval(code, test_env)`: object 'result' not found Backtrace: ▆ 1. └─testthat::expect_true(all(result$weight_monthly >= 0, na.rm = TRUE)) at test-edge-cases.R:366:3 2. └─testthat::quasi_label(enquo(object), label) 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Error ('test-integration-pipeline.R:27:3'): full pipeline works end-to-end with monthly calibration ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10003 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-integration-pipeline.R:27:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-integration-pipeline.R:75:3'): full pipeline works with fortnight calibration ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-integration-pipeline.R:75:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-integration-pipeline.R:157:3'): full pipeline with smoothing produces consistent results ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-integration-pipeline.R:157:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-integration-pipeline.R:205:3'): pipeline with experimental strategies maintains invariants ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-integration-pipeline.R:205:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-integration-pipeline.R:251:3'): pipeline works with multi-year data (year anchor) ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-integration-pipeline.R:251:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-integration-pipeline.R:351:3'): pipeline with keep_all=FALSE filters correctly ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-integration-pipeline.R:351:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-integration-pipeline.R:402:3'): pipeline produces consistent results with same data ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-integration-pipeline.R:402:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-pnadc-apply-periods.R:152:3'): pnadc_apply_periods with calibration adds weight column ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-pnadc-apply-periods.R:152:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-pnadc-apply-periods.R:220:3'): pnadc_apply_periods keep_all = TRUE includes undetermined rows ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-pnadc-apply-periods.R:220:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-pnadc-apply-periods.R:244:3'): pnadc_apply_periods keep_all = FALSE excludes undetermined rows ── Error: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─PNADCperiods::pnadc_apply_periods(...) at test-pnadc-apply-periods.R:244:3 2. └─PNADCperiods::fetch_monthly_population(verbose = FALSE) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Failure ('test-pnadc-apply-periods.R:267:3'): pnadc_apply_periods accepts anchor = 'quarter' ── Expected `... <- NULL` not to throw any errors. Actually got a <simpleError> with message: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds ── Failure ('test-pnadc-apply-periods.R:283:3'): pnadc_apply_periods accepts anchor = 'year' ── Expected `... <- NULL` not to throw any errors. Actually got a <simpleError> with message: Failed to fetch from SIDRA API. Check internet connection. Error: Timeout was reached [apisidra.ibge.gov.br]: Connection timed out after 10002 milliseconds [ FAIL 22 | WARN 18 | SKIP 12 | PASS 1472 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

mirror server hosted at Truenetwork, Russian Federation.