CRAN Package Check Results for Package geobr

Last updated on 2026-11-09 12:53:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.0 3.93 66.43 70.36 OK
r-devel-linux-x86_64-debian-gcc 2.1.0 3.30 50.19 53.49 ERROR
r-devel-linux-x86_64-fedora-clang 2.1.0 51.96 OK
r-devel-linux-x86_64-fedora-gcc 2.1.0 56.02 OK
r-devel-windows-x86_64 2.1.0 9.00 90.00 99.00 OK
r-patched-linux-x86_64 2.1.0 OK
r-release-linux-x86_64 2.1.0 4.45 63.18 67.63 OK
r-release-macos-arm64 2.1.0 1.00 22.00 23.00 OK
r-release-macos-x86_64 2.1.0 3.00 80.00 83.00 OK
r-release-windows-x86_64 2.1.0 6.00 92.00 98.00 OK
r-oldrel-macos-arm64 2.1.0 1.00 27.00 28.00 OK
r-oldrel-macos-x86_64 2.1.0 3.00 97.00 100.00 OK
r-oldrel-windows-x86_64 2.1.0 10.00 102.00 112.00 OK

Additional issues

M1mac

Check Details

Version: 2.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/4s] 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 Flavor: r-devel-linux-x86_64-debian-gcc