CRAN Package Check Results for Package cnefetools

Last updated on 2026-11-09 01:52:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 4.13 59.82 63.95 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 3.36 44.07 47.43 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 40.70 OK
r-devel-windows-x86_64 0.3.0 8.00 75.00 83.00 OK
r-patched-linux-x86_64 0.3.0 OK
r-release-linux-x86_64 0.3.0 4.30 51.47 55.77 OK
r-release-macos-arm64 0.3.0 1.00 17.00 18.00 OK
r-release-macos-x86_64 0.3.0 4.00 57.00 61.00 OK
r-release-windows-x86_64 0.3.0 7.00 79.00 86.00 OK
r-oldrel-macos-arm64 0.3.0 2.00 22.00 24.00 OK
r-oldrel-macos-x86_64 0.3.0 3.00 52.00 55.00 OK
r-oldrel-windows-x86_64 0.3.0 9.00 89.00 98.00 OK

Check Details

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/15s] 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(cnefetools) > > test_check("cnefetools") Saving _problems/test-cnefe_counts-20.R Saving _problems/test-cnefe_counts-121.R Saving _problems/test-compute_lumi-19.R Saving _problems/test-compute_lumi-109.R Saving _problems/test-crs-output-49.R Saving _problems/test-crs-output-72.R Saving _problems/test-export-and-local-43.R Saving _problems/test-export-and-local-78.R Saving _problems/test-export-and-local-142.R Saving _problems/test-export-and-local-169.R Saving _problems/test-read_cnefe-42.R Saving _problems/test-read_cnefe-65.R duckdb keeps downloaded extensions and secrets in a temporary directory: i /home/hornik/tmp/scratch/Rtmp8RZ6zh/duckdb This is removed when the R session ends. * Extensions are re-downloaded each session. * Secrets are lost. i Run duckdb(shared_home = TRUE) (or create ~/.duckdb) to keep them (suitable for most users). i Run duckdb(shared_home = FALSE) to accept the temporary directory (and silence this message). i See ?duckdb_storage for details and alternatives. duckdb keeps downloaded extensions and secrets in a temporary directory: i /home/hornik/tmp/scratch/Rtmp8RZ6zh/duckdb This is removed when the R session ends. * Extensions are re-downloaded each session. * Secrets are lost. i Run duckdb(shared_home = TRUE) (or create ~/.duckdb) to keep them (suitable for most users). i Run duckdb(shared_home = FALSE) to accept the temporary directory (and silence this message). i See ?duckdb_storage for details and alternatives. [ FAIL 12 | WARN 0 | SKIP 7 | PASS 273 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-cnefe_counts.R:185:3', 'test-tracts_to_h3.R:2:3', 'test-tracts_to_polygon-output.R:107:3', 'test-tracts_to_polygon-output.R:124:3', 'test-tracts_to_polygon-output.R:137:3', 'test-tracts_to_polygon-output.R:153:3', 'test-tracts_to_polygon-output.R:174:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cnefe_counts.R:11:3'): cnefe_counts works offline using ZIP fixture (backend r, polygon_type hex) ── Error: NotImplemented: Support for codec 'gzip' not built Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-cnefe_counts.R:11:3 2. └─cnefetools::read_cnefe(...) 3. └─cnefetools:::.cnefe_read_local(zip_path, verbose = verbose) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─arrow::read_delim_arrow(...) 7. └─CompressedInputStream$create(file, compression) 8. └─Codec$create(codec, compression_level = compression_level) 9. └─arrow:::util___Codec__Create(compression_from_name(type), compression_level) ── Error ('test-cnefe_counts.R:112:3'): cnefe_counts works with user polygon (backend r, polygon_type user) ── Error: NotImplemented: Support for codec 'gzip' not built Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-cnefe_counts.R:112:3 2. └─cnefetools::read_cnefe(...) 3. └─cnefetools:::.cnefe_read_local(zip_path, verbose = verbose) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─arrow::read_delim_arrow(...) 7. └─CompressedInputStream$create(file, compression) 8. └─Codec$create(codec, compression_level = compression_level) 9. └─arrow:::util___Codec__Create(compression_from_name(type), compression_level) ── Error ('test-compute_lumi.R:10:3'): compute_lumi computes expected p_res on offline fixture (backend r) ── Error: NotImplemented: Support for codec 'gzip' not built Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-compute_lumi.R:10:3 2. └─cnefetools::read_cnefe(...) 3. └─cnefetools:::.cnefe_read_local(zip_path, verbose = verbose) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─arrow::read_delim_arrow(...) 7. └─CompressedInputStream$create(file, compression) 8. └─Codec$create(codec, compression_level = compression_level) 9. └─arrow:::util___Codec__Create(compression_from_name(type), compression_level) ── Error ('test-compute_lumi.R:100:3'): compute_lumi works with user polygon (backend r) ── Error: NotImplemented: Support for codec 'gzip' not built Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-compute_lumi.R:100:3 2. └─cnefetools::read_cnefe(...) 3. └─cnefetools:::.cnefe_read_local(zip_path, verbose = verbose) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─arrow::read_delim_arrow(...) 7. └─CompressedInputStream$create(file, compression) 8. └─Codec$create(codec, compression_level = compression_level) 9. └─arrow:::util___Codec__Create(compression_from_name(type), compression_level) ── Error ('test-crs-output.R:49:5'): crs_output reprojects the result without changing the counts ── Error: NotImplemented: Support for codec 'gzip' not built Backtrace: ▆ 1. └─cnefetools (local) run(fn, test_poly()) at test-crs-output.R:49:5 2. ├─testthat::with_mocked_bindings(...) at test-crs-output.R:28:3 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. └─getExportedValue("cnefetools", fn)(...) 6. └─cnefetools:::.cnefe_counts_user_poly(...) 7. └─cnefetools:::.cnefe_counts_user_poly_r(...) 8. └─cnefetools::read_cnefe(...) 9. └─cnefetools:::.cnefe_read_local(zip_path, verbose = verbose) 10. ├─base::suppressWarnings(...) 11. │ └─base::withCallingHandlers(...) 12. └─arrow::read_delim_arrow(...) 13. └─CompressedInputStream$create(file, compression) 14. └─Codec$create(codec, compression_level = compression_level) 15. └─arrow:::util___Codec__Create(compression_from_name(type), compression_level) ── Error ('test-crs-output.R:72:3'): without crs_output the input CRS is preserved ── Error: NotImplemented: Support for codec 'gzip' not built Backtrace: ▆ 1. └─cnefetools (local) run("cnefe_counts", test_poly(crs = 31983)) at test-crs-output.R:72:3 2. ├─testthat::with_mocked_bindings(...) at test-crs-output.R:28:3 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. └─getExportedValue("cnefetools", fn)(...) 6. └─cnefetools:::.cnefe_counts_user_poly(...) 7. └─cnefetools:::.cnefe_counts_user_poly_r(...) 8. └─cnefetools::read_cnefe(...) 9. └─cnefetools:::.cnefe_read_local(zip_path, verbose = verbose) 10. ├─base::suppressWarnings(...) 11. │ └─base::withCallingHandlers(...) 12. └─arrow::read_delim_arrow(...) 13. └─CompressedInputStream$create(file, compression) 14. └─Codec$create(codec, compression_level = compression_level) 15. └─arrow:::util___Codec__Create(compression_from_name(type), compression_level) ── Error ('test-export-and-local.R:43:5'): .cnefe_read_local() reads every supported format (#80 R2.7) ── 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. └─cnefetools (local) write_toy(d, fmt) at test-export-and-local.R:43:5 2. └─arrow::write_parquet(df, p) at test-export-and-local.R:18:5 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-export-and-local.R:78:3'): read_cnefe(file =) returns the same shape as the download path (#80 R2.7) ── 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. └─cnefetools (local) write_toy(d, "parquet") at test-export-and-local.R:78:3 2. └─arrow::write_parquet(df, p) at test-export-and-local.R:18:5 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-export-and-local.R:142:5'): cnefe_export() writes every format and names files by edition (#80 R1.11) ── 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. └─cnefetools::cnefe_export(2919207, path = d, format = fmt, verbose = FALSE) at test-export-and-local.R:142:5 2. └─arrow::write_parquet(tab, outfile) 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-export-and-local.R:169:3'): cnefe_export() creates the target directory and overwrites on request ── 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. └─cnefetools::cnefe_export(2919207, path = d, verbose = FALSE) at test-export-and-local.R:169:3 2. └─arrow::write_parquet(tab, outfile) 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-read_cnefe.R:33:3'): read_cnefe reads from internal ZIP fixture (offline) as Arrow table ── Error: NotImplemented: Support for codec 'gzip' not built Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-read_cnefe.R:33:3 2. └─cnefetools::read_cnefe(...) 3. └─cnefetools:::.cnefe_read_local(zip_path, verbose = verbose) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─arrow::read_delim_arrow(...) 7. └─CompressedInputStream$create(file, compression) 8. └─Codec$create(codec, compression_level = compression_level) 9. └─arrow:::util___Codec__Create(compression_from_name(type), compression_level) ── Error ('test-read_cnefe.R:56:3'): read_cnefe reads from internal ZIP fixture (offline) as sf ── Error: NotImplemented: Support for codec 'gzip' not built Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-read_cnefe.R:56:3 2. └─cnefetools::read_cnefe(...) 3. └─cnefetools:::.cnefe_read_local(zip_path, verbose = verbose) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─arrow::read_delim_arrow(...) 7. └─CompressedInputStream$create(file, compression) 8. └─Codec$create(codec, compression_level = compression_level) 9. └─arrow:::util___Codec__Create(compression_from_name(type), compression_level) [ FAIL 12 | WARN 0 | SKIP 7 | PASS 273 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc