* using log directory ‘/home/hornik/tmp/CRAN_special_donttest/cnefetools.Rcheck’ * using R Under development (unstable) (2026-03-29 r89739) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-15 (Debian 15.2.0-15) 15.2.0 GNU Fortran (Debian 15.2.0-15) 15.2.0 * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * current time: 2026-03-30 18:44:19 UTC * using option ‘--run-donttest’ * checking for file ‘cnefetools/DESCRIPTION’ ... OK * this is package ‘cnefetools’ version ‘0.2.4’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] NOTE Maintainer: ‘Jorge Ubirajara Pedreira Junior ’ New submission Package was archived on CRAN Possibly misspelled words in DESCRIPTION: Brasileiro (19:50) CNEFE (2:41, 18:60, 24:21) Cadastro (18:5) Enderecos (18:26) Estatistica (20:5) Estatisticos (18:46) Geografia (19:64) IBGE (20:18) Instituto (19:40) Nacional (18:14) dasymetric (23:34) de (18:23, 19:61) CRAN repository db overrides: X-CRAN-Comment: Archived on 2026-03-30 as issues were not corrected in time. * 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 ‘cnefetools’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [5s/5s] 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 R/sysdata.rda ... OK * checking examples ... [12s/24s] ERROR Running examples in ‘cnefetools-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cnefe_counts > ### Title: Count CNEFE address species on a spatial grid > ### Aliases: cnefe_counts > > ### ** Examples > > ## No test: > # Count addresses per H3 hexagon (resolution 9) > hex_counts <- cnefe_counts(code_muni = 2929057) ℹ Step 1/3: Ensuring ZIP and inspecting archive... Downloading ZIP (timeout = 300s): https://ftp.ibge.gov.br/Cadastro_Nacional_de_Enderecos_para_Fins_Estatisticos/Censo_Demografico_2022/Arquivos_CNEFE/CSV/Municipio/29_BA/2929057_SAO_FELIX_DO_CORIBE.zip ✔ Step 1/3 (CNEFE ZIP ready) [1.7s] ℹ Step 2/3: Building full H3 grid over municipality boundary... Loading required namespace: sf ✔ Step 2/3 (H3 grid built) [9.7s] ℹ Step 3/3: Counting address species per hexagon... ✔ Step 3/3 (Addresses counted) [1.5s] > > # Count addresses per user-provided polygon (neighborhoods of Lauro de Freitas-BA) > # Using geobr to download neighborhood boundaries > library(geobr) > nei_ldf <- subset( + read_neighborhood(year = 2022), + code_muni == 2919207 + ) Using year/date 2022 Download status: 0 done; 1 in progress (0 b/s). Total size: 2.61 Kb (??%)... Download status: 1 done; 0 in progress. Total size: 16.50 Mb (216%)... done! > hex_counts <- cnefe_counts( + code_muni = 2919207, + polygon_type = "user", + polygon = nei_ldf + ) ℹ Step 1/2: Ensuring data and preparing polygon... Downloading ZIP (timeout = 300s): https://ftp.ibge.gov.br/Cadastro_Nacional_de_Enderecos_para_Fins_Estatisticos/Censo_Demografico_2022/Arquivos_CNEFE/CSV/Municipio/29_BA/2919207_LAURO_DE_FREITAS.zip ✔ Step 1/2 (Data and polygon ready) [2.3s] ℹ Step 2/2: Counting addresses per polygon... Error in `dbSendQuery()`: ! Binder Error: RTree indexes can only be created over GEOMETRY columns. ℹ Context: rapi_prepare ℹ Error type: BINDER Backtrace: ▆ 1. ├─cnefetools::cnefe_counts(...) 2. │ └─cnefetools:::.cnefe_counts_user_poly(...) 3. │ └─cnefetools:::.cnefe_counts_user_poly_duckdb(...) 4. │ ├─DBI::dbExecute(con, "CREATE INDEX IF NOT EXISTS poly_geom_idx ON user_polygons USING RTREE (geom);") 5. │ └─DBI::dbExecute(con, "CREATE INDEX IF NOT EXISTS poly_geom_idx ON user_polygons USING RTREE (geom);") 6. │ ├─DBI::dbSendStatement(conn, statement, ...) 7. │ └─DBI::dbSendStatement(conn, statement, ...) 8. │ ├─DBI::dbSendQuery(conn, statement, ...) 9. │ └─duckdb::dbSendQuery(conn, statement, ...) 10. │ └─duckdb (local) .local(conn, statement, ...) 11. │ └─duckdb:::rethrow_rapi_prepare(conn@conn_ref, statement, env) 12. │ ├─rlang::try_fetch(...) 13. │ │ ├─base::tryCatch(...) 14. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 17. │ │ └─base::withCallingHandlers(...) 18. │ └─duckdb:::rapi_prepare(conn, query, env) 19. ├─duckdb (local) ``(...) 20. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 21. │ └─rlang:::signal_abort(cnd, .file) 22. │ └─base::signalCondition(cnd) 23. └─rlang (local) ``(``) 24. └─handlers[[1L]](cnd) 25. └─duckdb:::rethrow_error_from_rapi(e, call) 26. └─rlang::abort(msg, call = call) ✖ Step 2/2: Counting addresses per polygon... [2.7s] Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [4s/4s] OK Running ‘testthat.R’ [4s/4s] * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE