* using log directory ‘/Users/ripley/R/packages/tests-devel/geobr.Rcheck’ * using R Under development (unstable) (2026-11-03 r90835) * using platform: aarch64-apple-darwin27.2.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.4.1.1) GNU Fortran (GCC) 14.2.0 * running under: macOS Golden Gate 27.2 * using session charset: UTF-8 * current time: 2026-11-09 08:41:24 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘geobr/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘geobr’ version ‘2.1.0’ * package encoding: UTF-8 * 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 ‘geobr’ can be installed ... OK * checking installed package size ... OK * checking package directory ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... 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 ... 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 ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + + library(testthat) + library(geobr) + library(sf) + library(geoarrow) + + test_check("geobr") + + } Linking to GEOS 3.15.0, GDAL 3.13.3, PROJ 9.9.0; sf_use_s2() is TRUE Saving _problems/test-download_fallback-39.R Saving _problems/test-download_fallback-39.R Saving _problems/test-download_fallback-39.R Saving _problems/test-download_fallback-39.R Saving _problems/test-download_fallback-67.R Saving _problems/test-download_fallback-68.R Saving _problems/test-download_fallback-69.R Saving _problems/test-download_fallback-70.R Saving _problems/test-download_fallback-71.R Saving _problems/test-download_fallback-123.R Saving _problems/test-download_fallback-124.R Saving _problems/test-download_fallback-158.R Saving _problems/test-download_fallback-158.R Saving _problems/test-download_fallback-158.R Saving _problems/test-download_fallback-158.R [ FAIL 15 | WARN 0 | SKIP 38 | PASS 26 ] ══ Skipped tests (38) ══════════════════════════════════════════════════════════ • On CRAN (38): 'test-cep_to_state.R:5:1', 'test-download_metadata.R:5:1', 'test-grid_state_correspondence_table.R:5:1', 'test-list_geobr.R:5:1', 'test-lookup_muni.R:5:1', 'test-read_addresses.R:4:1', 'test-read_amazon.R:5:1', 'test-read_biomes.R:5:1', 'test-read_capitals.R:5:1', 'test-read_census_tract.R:5:1', 'test-read_comparable_areas.R:5:1', 'test-read_conservation_units.R:5:1', 'test-read_country.R:5:1', 'test-read_disaster_risk_area.R:5:1', 'test-read_favela.R:5:1', 'test-read_health_facilities.R:5:1', 'test-read_health_region.R:5:1', 'test-read_immediate_region.R:5:1', 'test-read_indigenous_lands.R:5:1', 'test-read_intermediate_region.R:5:1', 'test-read_meso_region.R:5:1', 'test-read_metro_area.R:5:1', 'test-read_micro_region.R:5:1', 'test-read_municipal_seat.R:5:1', 'test-read_municipality.R:5:1', 'test-read_neighborhood.R:5:1', 'test-read_polling_places.R:5:1', 'test-read_pop_arrangements.R:6:1', 'test-read_quilombola_lands.R:5:1', 'test-read_region.R:5:1', 'test-read_schools.R:5:1', 'test-read_semiarid.R:5:1', 'test-read_state.R:4:1', 'test-read_statistical_grid.R:4:1', 'test-read_urban_area.R:5:1', 'test-read_urban_concentrations.R:5:1', 'test-read_weighting_area.R:6:1', 'test-remove_islands.R:5:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-download_fallback.R:39:5'): data fallback recovers from connection failure ── Expected `result` to equal `expected`. Differences: target is NULL, current is tbl_df ── Failure ('test-download_fallback.R:39:5'): data fallback recovers from http failure ── Expected `result` to equal `expected`. Differences: target is NULL, current is tbl_df ── Failure ('test-download_fallback.R:39:5'): data fallback recovers from partial failure ── Expected `result` to equal `expected`. Differences: target is NULL, current is tbl_df ── Failure ('test-download_fallback.R:39:5'): data fallback recovers from missing failure ── Expected `result` to equal `expected`. Differences: target is NULL, current is tbl_df ── Failure ('test-download_fallback.R:67:3'): successful GitHub downloads and valid caches avoid fallback ── Expected `download_parquet("fallback.parquet", FALSE, FALSE)` to equal `expected`. Differences: target is NULL, current is tbl_df ── Failure ('test-download_fallback.R:68:3'): successful GitHub downloads and valid caches avoid fallback ── Expected `download_parquet("fallback.parquet", FALSE, TRUE)` to equal `expected`. Differences: target is NULL, current is tbl_df ── Failure ('test-download_fallback.R:69:3'): successful GitHub downloads and valid caches avoid fallback ── Expected `calls` to equal 1L. Differences: 1/1 mismatches [1] 4 - 1 == 3 ── Failure ('test-download_fallback.R:70:3'): successful GitHub downloads and valid caches avoid fallback ── Expected `download_parquet("fallback.parquet", TRUE, FALSE)` to equal `expected`. Differences: target is NULL, current is tbl_df ── Failure ('test-download_fallback.R:71:3'): successful GitHub downloads and valid caches avoid fallback ── Expected `calls` to equal 2L. Differences: 1/1 mismatches [1] 6 - 2 == 4 ── Failure ('test-download_fallback.R:123:3'): an unreadable cached data file is removed and downloaded again ── Expected `download_parquet("fallback.parquet", FALSE, TRUE)` to equal `expected`. Differences: target is NULL, current is tbl_df ── Failure ('test-download_fallback.R:124:3'): an unreadable cached data file is removed and downloaded again ── Expected `calls` to equal 1L. Differences: 1/1 mismatches [1] 2 - 1 == 1 ── Error ('test-download_fallback.R:158:7'): metadata handles none ───────────── Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. └─geobr:::download_metadata2() at test-download_fallback.R:158:7 2. └─arrow::write_parquet(temp_meta, tempf) 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-download_fallback.R:158:7'): metadata handles connection ─────── Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. └─geobr:::download_metadata2() at test-download_fallback.R:158:7 2. └─arrow::write_parquet(temp_meta, tempf) 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-download_fallback.R:158:7'): metadata handles http ───────────── Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. └─geobr:::download_metadata2() at test-download_fallback.R:158:7 2. └─arrow::write_parquet(temp_meta, tempf) 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-download_fallback.R:158:7'): metadata handles no assets ──────── Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. └─geobr:::download_metadata2() at test-download_fallback.R:158:7 2. └─arrow::write_parquet(temp_meta, tempf) 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() [ FAIL 15 | WARN 0 | SKIP 38 | PASS 26 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/geobr.Rcheck/00check.log’ for details. 31.42 real 23.41 user 7.12 sys