CRAN Package Check Results for Package sage

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 2.79 33.33 36.12 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 1.85 25.32 27.17 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 23.43 OK
r-devel-windows-x86_64 0.2.0 6.00 54.00 60.00 OK
r-patched-linux-x86_64 0.2.0 OK
r-release-linux-x86_64 0.2.0 2.42 28.50 30.92 OK
r-release-macos-arm64 0.2.0 1.00 12.00 13.00 OK
r-release-macos-x86_64 0.2.0 2.00 36.00 38.00 OK
r-release-windows-x86_64 0.2.0 5.00 50.00 55.00 OK
r-oldrel-macos-arm64 0.2.0 1.00 17.00 18.00 OK
r-oldrel-macos-x86_64 0.2.0 2.00 34.00 36.00 OK
r-oldrel-windows-x86_64 0.2.0 6.00 56.00 62.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘sage-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: sage_columns > ### Title: List the columns available in the dataset > ### Aliases: sage_columns > > ### ** Examples > > sage_set_source(system.file("extdata", "mini_archive", package = "sage")) > sage_columns() Error: This build of the arrow package does not support Datasets Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sage) > > test_check("sage") Saving _problems/test-offline-archive-19.R Saving _problems/test-offline-archive-32.R Saving _problems/test-offline-archive-43.R Saving _problems/test-offline-archive-53.R Saving _problems/test-offline-archive-64.R Saving _problems/test-offline-archive-76.R Saving _problems/test-offline-archive-82.R Saving _problems/test-offline-archive-103.R Saving _problems/test-offline-archive-119.R [ FAIL 9 | WARN 0 | SKIP 4 | PASS 31 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-live-archive.R:5:3', 'test-live-archive.R:15:3', 'test-live-archive.R:26:3', 'test-live-archive.R:46:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-offline-archive.R:19:5'): sage_columns() returns the union across partitions ── Error: This build of the arrow package does not support Datasets Backtrace: ▆ 1. ├─sage:::with_source(...) at test-offline-archive.R:18:3 2. │ └─base::force(code) at ./helper-source.R:17:3 3. └─sage::sage_columns() at test-offline-archive.R:19:5 4. ├─base::union(cols, .partition_columns(o$path[i], gcs$fs, gcs$root)) 5. │ └─base::.set_ops_need_as_vector(x, y) 6. └─sage:::.partition_columns(o$path[i], gcs$fs, gcs$root) 7. └─arrow::open_dataset(.partition_path(relpath), format = "parquet") 8. └─arrow:::stop_if_no_datasets() ── Error ('test-offline-archive.R:32:5'): sage_load() returns a tibble keyed by country and year ── Error in `parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads))`: Cannot call parquet___arrow___ArrowReaderProperties__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. ├─sage:::with_source(...) at test-offline-archive.R:31:3 2. │ └─base::force(code) at ./helper-source.R:17:3 3. └─sage::sage_load("Iceland", years = 2020) at test-offline-archive.R:32:5 4. └─base::lapply(...) 5. └─sage (local) FUN(X[[i]], ...) 6. └─sage:::.read_parquet_any(.partition_path(rows$path[i])) 7. ├─base::as.data.frame(arrow::read_parquet(path_or_url)) 8. └─arrow::read_parquet(path_or_url) 9. ├─ParquetFileReader$create(file, props = props, mmap = mmap, ...) 10. │ └─arrow:::assert_is(props, "ParquetArrowReaderProperties") 11. │ ├─assertthat::assert_that(inherits(object, class), msg = msg) 12. │ │ └─assertthat::see_if(..., env = env, msg = msg) 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::eval(assertion, env) 18. │ │ └─base::eval(assertion, env) 19. │ └─base::inherits(object, class) 20. └─ParquetArrowReaderProperties$create() 21. └─arrow:::parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) ── Error ('test-offline-archive.R:43:5'): sage_load() concatenates years when none are given ── Error in `parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads))`: Cannot call parquet___arrow___ArrowReaderProperties__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. ├─sage:::with_source(...) at test-offline-archive.R:42:3 2. │ └─base::force(code) at ./helper-source.R:17:3 3. └─sage::sage_load("Iceland") at test-offline-archive.R:43:5 4. └─base::lapply(...) 5. └─sage (local) FUN(X[[i]], ...) 6. └─sage:::.read_parquet_any(.partition_path(rows$path[i])) 7. ├─base::as.data.frame(arrow::read_parquet(path_or_url)) 8. └─arrow::read_parquet(path_or_url) 9. ├─ParquetFileReader$create(file, props = props, mmap = mmap, ...) 10. │ └─arrow:::assert_is(props, "ParquetArrowReaderProperties") 11. │ ├─assertthat::assert_that(inherits(object, class), msg = msg) 12. │ │ └─assertthat::see_if(..., env = env, msg = msg) 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::eval(assertion, env) 18. │ │ └─base::eval(assertion, env) 19. │ └─base::inherits(object, class) 20. └─ParquetArrowReaderProperties$create() 21. └─arrow:::parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) ── Error ('test-offline-archive.R:53:5'): sage_load() honors the columns argument and always keeps the keys ── Error in `parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads))`: Cannot call parquet___arrow___ArrowReaderProperties__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. ├─sage:::with_source(...) at test-offline-archive.R:52:3 2. │ └─base::force(code) at ./helper-source.R:17:3 3. └─sage::sage_load("Iceland", years = 2020, columns = "party") at test-offline-archive.R:53:5 4. └─base::lapply(...) 5. └─sage (local) FUN(X[[i]], ...) 6. └─sage:::.read_parquet_any(.partition_path(rows$path[i])) 7. ├─base::as.data.frame(arrow::read_parquet(path_or_url)) 8. └─arrow::read_parquet(path_or_url) 9. ├─ParquetFileReader$create(file, props = props, mmap = mmap, ...) 10. │ └─arrow:::assert_is(props, "ParquetArrowReaderProperties") 11. │ ├─assertthat::assert_that(inherits(object, class), msg = msg) 12. │ │ └─assertthat::see_if(..., env = env, msg = msg) 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::eval(assertion, env) 18. │ │ └─base::eval(assertion, env) 19. │ └─base::inherits(object, class) 20. └─ParquetArrowReaderProperties$create() 21. └─arrow:::parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) ── Error ('test-offline-archive.R:64:5'): drop_all_na removes columns that never apply to the slice ── Error in `parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads))`: Cannot call parquet___arrow___ArrowReaderProperties__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. ├─sage:::with_source(...) at test-offline-archive.R:63:3 2. │ └─base::force(code) at ./helper-source.R:17:3 3. └─sage::sage_load("Iceland", years = 2020, drop_all_na = TRUE) at test-offline-archive.R:64:5 4. └─base::lapply(...) 5. └─sage (local) FUN(X[[i]], ...) 6. └─sage:::.read_parquet_any(.partition_path(rows$path[i])) 7. ├─base::as.data.frame(arrow::read_parquet(path_or_url)) 8. └─arrow::read_parquet(path_or_url) 9. ├─ParquetFileReader$create(file, props = props, mmap = mmap, ...) 10. │ └─arrow:::assert_is(props, "ParquetArrowReaderProperties") 11. │ ├─assertthat::assert_that(inherits(object, class), msg = msg) 12. │ │ └─assertthat::see_if(..., env = env, msg = msg) 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::eval(assertion, env) 18. │ │ └─base::eval(assertion, env) 19. │ └─base::inherits(object, class) 20. └─ParquetArrowReaderProperties$create() 21. └─arrow:::parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) ── Error ('test-offline-archive.R:75:5'): sage_load() validates its arguments ── Error in `parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads))`: Cannot call parquet___arrow___ArrowReaderProperties__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. ├─sage:::with_source(...) at test-offline-archive.R:72:3 2. │ └─base::force(code) at ./helper-source.R:17:3 3. ├─testthat::expect_error(...) at test-offline-archive.R:75:5 4. │ └─testthat:::expect_condition_matching_(...) 5. │ └─testthat:::quasi_capture(...) 6. │ ├─testthat (local) .capture(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─sage::sage_load("Iceland", min_match_confidence = "excellent") 10. └─base::lapply(...) 11. └─sage (local) FUN(X[[i]], ...) 12. └─sage:::.read_parquet_any(.partition_path(rows$path[i])) 13. ├─base::as.data.frame(arrow::read_parquet(path_or_url)) 14. └─arrow::read_parquet(path_or_url) 15. ├─ParquetFileReader$create(file, props = props, mmap = mmap, ...) 16. │ └─arrow:::assert_is(props, "ParquetArrowReaderProperties") 17. │ ├─assertthat::assert_that(inherits(object, class), msg = msg) 18. │ │ └─assertthat::see_if(..., env = env, msg = msg) 19. │ │ ├─base::tryCatch(...) 20. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 21. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 22. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 23. │ │ └─base::eval(assertion, env) 24. │ │ └─base::eval(assertion, env) 25. │ └─base::inherits(object, class) 26. └─ParquetArrowReaderProperties$create() 27. └─arrow:::parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) ── Error ('test-offline-archive.R:82:5'): min_match_confidence is a floor, not an exact match ── Error in `parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads))`: Cannot call parquet___arrow___ArrowReaderProperties__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. ├─sage:::with_source(...) at test-offline-archive.R:81:3 2. │ └─base::force(code) at ./helper-source.R:17:3 3. └─sage::sage_load("Samoa", drop_all_na = FALSE) at test-offline-archive.R:82:5 4. └─base::lapply(...) 5. └─sage (local) FUN(X[[i]], ...) 6. └─sage:::.read_parquet_any(.partition_path(rows$path[i])) 7. ├─base::as.data.frame(arrow::read_parquet(path_or_url)) 8. └─arrow::read_parquet(path_or_url) 9. ├─ParquetFileReader$create(file, props = props, mmap = mmap, ...) 10. │ └─arrow:::assert_is(props, "ParquetArrowReaderProperties") 11. │ ├─assertthat::assert_that(inherits(object, class), msg = msg) 12. │ │ └─assertthat::see_if(..., env = env, msg = msg) 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::eval(assertion, env) 18. │ │ └─base::eval(assertion, env) 19. │ └─base::inherits(object, class) 20. └─ParquetArrowReaderProperties$create() 21. └─arrow:::parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) ── Error ('test-offline-archive.R:102:5'): election_type filters the slice ───── Error in `parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads))`: Cannot call parquet___arrow___ArrowReaderProperties__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. ├─sage:::with_source(...) at test-offline-archive.R:101:3 2. │ └─base::force(code) at ./helper-source.R:17:3 3. ├─testthat::expect_identical(...) at test-offline-archive.R:102:5 4. │ └─testthat::quasi_label(enquo(object), label) 5. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 6. ├─base::unique(sage_load("Samoa", election_type = "Legislative")$election_type) 7. └─sage::sage_load("Samoa", election_type = "Legislative") 8. └─base::lapply(...) 9. └─sage (local) FUN(X[[i]], ...) 10. └─sage:::.read_parquet_any(.partition_path(rows$path[i])) 11. ├─base::as.data.frame(arrow::read_parquet(path_or_url)) 12. └─arrow::read_parquet(path_or_url) 13. ├─ParquetFileReader$create(file, props = props, mmap = mmap, ...) 14. │ └─arrow:::assert_is(props, "ParquetArrowReaderProperties") 15. │ ├─assertthat::assert_that(inherits(object, class), msg = msg) 16. │ │ └─assertthat::see_if(..., env = env, msg = msg) 17. │ │ ├─base::tryCatch(...) 18. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 19. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 20. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 21. │ │ └─base::eval(assertion, env) 22. │ │ └─base::eval(assertion, env) 23. │ └─base::inherits(object, class) 24. └─ParquetArrowReaderProperties$create() 25. └─arrow:::parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) ── Error ('test-offline-archive.R:119:5'): the local read keeps columns only one partition carries ── Error in `parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads))`: Cannot call parquet___arrow___ArrowReaderProperties__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. ├─sage:::with_source(...) at test-offline-archive.R:118:3 2. │ └─base::force(code) at ./helper-source.R:17:3 3. └─sage::sage_load("Samoa", drop_all_na = FALSE) at test-offline-archive.R:119:5 4. └─base::lapply(...) 5. └─sage (local) FUN(X[[i]], ...) 6. └─sage:::.read_parquet_any(.partition_path(rows$path[i])) 7. ├─base::as.data.frame(arrow::read_parquet(path_or_url)) 8. └─arrow::read_parquet(path_or_url) 9. ├─ParquetFileReader$create(file, props = props, mmap = mmap, ...) 10. │ └─arrow:::assert_is(props, "ParquetArrowReaderProperties") 11. │ ├─assertthat::assert_that(inherits(object, class), msg = msg) 12. │ │ └─assertthat::see_if(..., env = env, msg = msg) 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::eval(assertion, env) 18. │ │ └─base::eval(assertion, env) 19. │ └─base::inherits(object, class) 20. └─ParquetArrowReaderProperties$create() 21. └─arrow:::parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) [ FAIL 9 | WARN 0 | SKIP 4 | PASS 31 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc