CRAN Package Check Results for Package USPopulationSampler

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 3.62 118.45 122.07 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 2.27 86.15 88.42 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 81.91 OK
r-devel-windows-x86_64 0.1.1 6.00 129.00 135.00 OK
r-patched-linux-x86_64 0.1.1 OK
r-release-linux-x86_64 0.1.1 3.63 108.47 112.10 OK
r-release-macos-arm64 0.1.1 1.00 33.00 34.00 OK
r-release-macos-x86_64 0.1.1 3.00 130.00 133.00 OK
r-release-windows-x86_64 0.1.1 5.00 128.00 133.00 OK
r-oldrel-macos-arm64 0.1.1 1.00 31.00 32.00 OK
r-oldrel-macos-x86_64 0.1.1 3.00 121.00 124.00 OK
r-oldrel-windows-x86_64 0.1.1 7.00 158.00 165.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘USPopulationSampler-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: open_synthetic_dataset > ### Title: Open a synthetic dataset stored in Parquet format > ### Aliases: open_synthetic_dataset > > ### ** Examples > > if (requireNamespace("arrow", quietly = TRUE)) { + tmp <- tempfile() + + arrow::write_dataset( + data.frame( + longitude = c(-118.2, -118.3), + latitude = c(34.0, 34.1) + ), + path = tmp, + format = "parquet" + ) + + ds <- open_synthetic_dataset(tmp) + ds + } Error in dataset___HivePartitioning(schm, null_fallback = null_fallback_or_default(null_fallback), : Cannot call dataset___HivePartitioning(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Calls: <Anonymous> -> <Anonymous> -> dataset___HivePartitioning Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed US_pop_sampler 4.015 0.16 5.912 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [53s/67s] 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(USPopulationSampler) > > test_check("USPopulationSampler") Requested total: 100 Final sampled points: 100 Active polygons: 98 Elapsed time: 4.99 sec Requested total: 100 Final sampled points: 100 Active polygons: 97 Elapsed time: 2.78 sec Requested total: 100 Final sampled points: 100 Active polygons: 93 Elapsed time: 2.68 sec Matched FIPS: 1 Missing FIPS: 0 Requested total: 100 Final sampled points: 100 Active polygons: 63 Elapsed time: 1.72 sec Requested total: 150 Final sampled points: 150 Active polygons: 137 Elapsed time: 3.77 sec Requested total: 100 Final sampled points: 100 Active polygons: 97 Total batches: 1 Saving _problems/test-US_pop_sampler-141.R Requested total: 100 Final sampled points: 100 Active polygons: 95 Elapsed time: 3.60 sec Requested total: 100 Final sampled points: 100 Active polygons: 95 Elapsed time: 4.35 sec Matched FIPS: 1 Missing FIPS: 1 Requested total: 100 Final sampled points: 100 Active polygons: 57 Elapsed time: 2.11 sec Requested total: 100 Final sampled points: 100 Active polygons: 97 Elapsed time: 3.64 sec Matched FIPS: 2 Missing FIPS: 0 Requested total: 50 Final sampled points: 50 Active polygons: 46 Elapsed time: 2.52 sec Matched FIPS: 1 Missing FIPS: 1 Requested total: 100 Final sampled points: 100 Active polygons: 58 Elapsed time: 2.92 sec Requested total: 100 Final sampled points: 100 Active polygons: 95 Elapsed time: 4.04 sec Requested total: 100 Final sampled points: 100 Active polygons: 95 Elapsed time: 3.21 sec Requested total: 100 Final sampled points: 100 Active polygons: 94 Total batches: 1 Saving _problems/test-assign_date-48.R Requested total: 100 Final sampled points: 100 Active polygons: 99 Elapsed time: 3.86 sec Requested total: 100 Final sampled points: 100 Active polygons: 98 Elapsed time: 3.06 sec Requested total: 100 Final sampled points: 100 Active polygons: 100 Elapsed time: 2.83 sec Synthetic dataset 1 already exists. Skipping download. File already exists. Using cached copy. Skipping download. File already exists. Using cached copy. Skipping download. Saving _problems/test-open_synthetic_dataset-15.R Requested total: 100 Final sampled points: 100 Active polygons: 95 Total batches: 1 Saving _problems/test-open_synthetic_dataset-37.R Saving _problems/test-open_synthetic_dataset-59.R Saving _problems/test-open_synthetic_dataset-85.R [ FAIL 6 | WARN 3 | SKIP 4 | PASS 59 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-US_pop_sampler.R:274:3', 'test-load_data.R:38:3', 'test-load_data.R:98:3', 'test-load_data.R:165:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-US_pop_sampler.R:135:3'): streaming mode creates parquet output ── 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. ├─base::suppressWarnings(...) at test-US_pop_sampler.R:135:3 2. │ └─base::withCallingHandlers(...) 3. └─USPopulationSampler::US_pop_sampler(...) 4. └─arrow::write_parquet(...) 5. ├─ParquetFileWriter$create(...) 6. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 7. └─ParquetWriterProperties$create(...) 8. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-assign_date.R:42:3'): assign_dates_to_pts works in streaming mode ── 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. ├─base::suppressWarnings(...) at test-assign_date.R:42:3 2. │ └─base::withCallingHandlers(...) 3. └─USPopulationSampler::US_pop_sampler(...) 4. └─arrow::write_parquet(...) 5. ├─ParquetFileWriter$create(...) 6. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 7. └─ParquetWriterProperties$create(...) 8. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-open_synthetic_dataset.R:8:3'): open_synthetic_dataset opens parquet directory ── Error in `dataset___HivePartitioning(schm, null_fallback = null_fallback_or_default(null_fallback), segment_encoding = segment_encoding)`: Cannot call dataset___HivePartitioning(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. └─arrow::write_dataset(...) at test-open_synthetic_dataset.R:8:3 2. └─HivePartitioning$create(partition_schema, null_fallback = list(...)$null_fallback) 3. └─arrow:::dataset___HivePartitioning(...) ── Error ('test-open_synthetic_dataset.R:30:3'): open_synthetic_dataset accepts synthetic_points object ── 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. └─USPopulationSampler::US_pop_sampler(...) at test-open_synthetic_dataset.R:30:3 2. └─arrow::write_parquet(...) 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() ── Error ('test-open_synthetic_dataset.R:52:3'): open_synthetic_dataset accepts object with path ── Error in `dataset___HivePartitioning(schm, null_fallback = null_fallback_or_default(null_fallback), segment_encoding = segment_encoding)`: Cannot call dataset___HivePartitioning(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. └─arrow::write_dataset(...) at test-open_synthetic_dataset.R:52:3 2. └─HivePartitioning$create(partition_schema, null_fallback = list(...)$null_fallback) 3. └─arrow:::dataset___HivePartitioning(...) ── Error ('test-open_synthetic_dataset.R:78:3'): open_synthetic_dataset returns existing Dataset unchanged ── Error in `dataset___HivePartitioning(schm, null_fallback = null_fallback_or_default(null_fallback), segment_encoding = segment_encoding)`: Cannot call dataset___HivePartitioning(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. └─arrow::write_dataset(...) at test-open_synthetic_dataset.R:78:3 2. └─HivePartitioning$create(partition_schema, null_fallback = list(...)$null_fallback) 3. └─arrow:::dataset___HivePartitioning(...) [ FAIL 6 | WARN 3 | SKIP 4 | PASS 59 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc