Package check result: ERROR Check: CRAN incoming feasibility, Result: 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. Check: examples, Result: 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