* using log directory ‘/srv/hornik/tmp/CRAN_pretest/sidra.Rcheck’ * using R Under development (unstable) (2025-08-20 r88651) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3+b1) Debian flang-new version 19.1.7 (3+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘sidra/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘sidra’ version ‘0.1.6’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/123s] NOTE Maintainer: ‘Rodrigo Emmanuel Santana Borges ’ New submission Found the following (possibly) invalid URLs: URL: https://servicodados.ibge.gov.br/api/docs/agregados?versao=3 From: DESCRIPTION man/agregados.Rd man/sidrameta.Rd inst/doc/sidra.html README.md Status: Error Message: Timeout was reached [servicodados.ibge.gov.br]: Connection timed out after 60002 milliseconds * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘sidra’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [3s/3s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [1s/11s] ERROR Running examples in ‘sidra-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: sidra > ### Title: coleta de dados via API SIDRA - IBGE > ### Aliases: sidra > ### Keywords: IBGE SIDRA dados > > ### ** Examples > > ipcaq <- sidra(1705,classificador=315,periodo='201202') Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached [servicodados.ibge.gov.br]: Connection timed out after 10002 milliseconds Calls: sidra ... request_fetch.write_memory -> -> raise_libcurl_error Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/11s] ERROR Running ‘testthat.R’ [1s/11s] 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(sidra) > > test_check("sidra") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-checa-saida.R:8:3'): sidra(1705) returns a data frame ────────── Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [servicodados.ibge.gov.br]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. ├─sidra::sidra(1705) at test-checa-saida.R:8:3 2. │ └─sidra::tab_meta(tabela) 3. │ └─httr::GET(rota) 4. │ └─httr:::request_perform(req, hu$handle$handle) 5. │ ├─httr:::request_fetch(req$output, req$url, handle) 6. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 7. │ └─curl::curl_fetch_memory(url, handle = handle) 8. └─curl:::raise_libcurl_error(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 NOTE