CRAN Package Check Results for Package decimal

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 12.65 68.39 81.04 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 10.88 50.93 61.81 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 12.00 49.24 61.24 OK
r-devel-windows-x86_64 0.1.1 28.00 153.00 181.00 OK
r-patched-linux-x86_64 0.1.1 OK
r-release-linux-x86_64 0.1.1 14.98 56.52 71.50 OK
r-release-macos-arm64 0.1.1 4.00 23.00 27.00 OK
r-release-macos-x86_64 0.1.1 11.00 97.00 108.00 OK
r-release-windows-x86_64 0.1.1 24.00 96.00 120.00 OK
r-oldrel-macos-arm64 0.1.1 6.00 38.00 44.00 OK
r-oldrel-macos-x86_64 0.1.1 11.00 89.00 100.00 OK
r-oldrel-windows-x86_64 0.1.1 31.00 102.00 133.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘decimal-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: arrow_as_data_frame > ### Title: Convert an Arrow table to a data frame, keeping decimal columns > ### exact > ### Aliases: arrow_as_data_frame > > ### ** Examples > > if (requireNamespace("arrow", quietly = TRUE)) { + tab <- arrow::arrow_table( + id = 1:2, + amount = arrow::Array$create( + c("100.05", "99999999999999999999.99") + )$cast(arrow::decimal128(25, 2)) + ) + arrow_as_data_frame(tab) + } Error: Key error: No function registered with name: utf8_lower Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(decimal) > > test_check("decimal") Saving _problems/test-arrow-23.R Saving _problems/test-arrow-44.R Saving _problems/test-arrow-64.R Saving _problems/test-arrow-71.R Saving _problems/test-arrow-83.R Saving _problems/test-arrow-90.R Saving _problems/test-arrow-99.R Saving _problems/test-arrow-110.R Saving _problems/test-arrow-124.R Saving _problems/test-arrow-224.R Saving _problems/test-arrow-312.R Saving _problems/test-arrow-352.R Saving _problems/test-arrow-450.R Saving _problems/test-arrow-470.R Saving _problems/test-arrow-493.R [ FAIL 15 | WARN 0 | SKIP 4 | PASS 394 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • arrow was built without Parquet (4): 'test-arrow.R:292:3', 'test-arrow.R:378:3', 'test-arrow.R:405:3', 'test-arrow.R:420:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-arrow.R:23:3'): as_decimal() reads an Arrow decimal128 array exactly ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─decimal::as_decimal(x) at test-arrow.R:23:3 2. └─decimal:::as_decimal.Array(x) 3. └─decimal:::decimal_from_arrow(x, scale) 4. └─decimal:::decimal_from_arrow_decimal(x, scale) 5. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 6. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 7. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:44:3'): as_decimal() reads an Arrow decimal256 array exactly ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─decimal::as_decimal(x) at test-arrow.R:44:3 2. └─decimal:::as_decimal.Array(x) 3. └─decimal:::decimal_from_arrow(x, scale) 4. └─decimal:::decimal_from_arrow_decimal(x, scale) 5. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 6. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 7. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:64:3'): as_decimal() reads the narrow decimal32 and decimal64 types ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test-arrow.R:64:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─decimal::as_decimal(d32) 5. └─decimal:::as_decimal.Array(d32) 6. └─decimal:::decimal_from_arrow(x, scale) 7. └─decimal:::decimal_from_arrow_decimal(x, scale) 8. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 9. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 10. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:71:3'): Arrow nulls become missing decimals ──────────── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─decimal::as_decimal(...) at test-arrow.R:71:3 2. └─decimal:::as_decimal.Array(...) 3. └─decimal:::decimal_from_arrow(x, scale) 4. └─decimal:::decimal_from_arrow_decimal(x, scale) 5. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 6. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 7. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:83:3'): as_decimal() takes the scale from the Arrow type ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─testthat::expect_identical(attr(as_decimal(x), "scale"), 3L) at test-arrow.R:83:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─decimal::as_decimal(x) 5. └─decimal:::as_decimal.Array(x) 6. └─decimal:::decimal_from_arrow(x, scale) 7. └─decimal:::decimal_from_arrow_decimal(x, scale) 8. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 9. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 10. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:90:3'): as_decimal() handles a negative Arrow scale ──── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─decimal::as_decimal(arrow_decimal(c("1200", "3400"), 10L, -2L)) at test-arrow.R:90:3 2. └─decimal:::as_decimal.Array(...) 3. └─decimal:::decimal_from_arrow(x, scale) 4. └─decimal:::decimal_from_arrow_decimal(x, scale) 5. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 6. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 7. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:99:3'): as_decimal() folds Arrow's uppercase exponent letter ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─decimal::as_decimal(...) at test-arrow.R:99:3 2. └─decimal:::as_decimal.Array(...) 3. └─decimal:::decimal_from_arrow(x, scale) 4. └─decimal:::decimal_from_arrow_decimal(x, scale) 5. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 6. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 7. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:110:3'): as_decimal()'s `scale` argument overrides the Arrow type ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test-arrow.R:110:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─decimal::as_decimal(x, scale = 4L) 5. └─decimal:::as_decimal.Array(x, scale = 4L) 6. └─decimal:::decimal_from_arrow(x, scale) 7. └─decimal:::decimal_from_arrow_decimal(x, scale) 8. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 9. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 10. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:124:3'): as_decimal() reads a chunked Arrow column ───── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─decimal::as_decimal(x) at test-arrow.R:124:3 2. └─decimal:::as_decimal.ChunkedArray(x) 3. └─decimal:::decimal_from_arrow(x, scale) 4. └─decimal:::decimal_from_arrow_decimal(x, scale) 5. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 6. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 7. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:224:7'): Arrow's decimal-to-string cast matches the canonical form ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─vctrs::vec_data(as_decimal(x)) at test-arrow.R:224:7 2. │ └─vctrs::obj_check_vector(x) at vctrs/R/proxy.R:203:3 3. ├─decimal::as_decimal(x) at vctrs/R/proxy.R:203:3 4. └─decimal:::as_decimal.Array(x) 5. └─decimal:::decimal_from_arrow(x, scale) 6. └─decimal:::decimal_from_arrow_decimal(x, scale) 7. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 8. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 9. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:312:3'): the decimal.arrow_extension option switches to plain fields ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─testthat::expect_identical(as_decimal(tab$amount), x) at test-arrow.R:312:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─decimal::as_decimal(tab$amount) 5. └─decimal:::as_decimal.ChunkedArray(tab$amount) 6. └─decimal:::decimal_from_arrow(x, scale) 7. └─decimal:::decimal_from_arrow_decimal(x, scale) 8. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 9. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 10. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:352:3'): as_arrow_array() wraps a real decimal, and a pinned type is honoured ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─testthat::expect_identical(as_decimal(out), x) at test-arrow.R:352:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─decimal::as_decimal(out) 5. └─decimal:::as_decimal.Array(out) 6. └─decimal:::decimal_from_arrow(x, scale) 7. └─decimal:::decimal_from_arrow_decimal(x, scale) 8. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 9. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 10. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:450:3'): arrow_as_data_frame() reads plain fields exactly, the rest via arrow ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. └─decimal::arrow_as_data_frame(tab) at test-arrow.R:450:3 2. ├─decimal::as_decimal(x[[i]]) 3. └─decimal:::as_decimal.ChunkedArray(x[[i]]) 4. └─decimal:::decimal_from_arrow(x, scale) 5. └─decimal:::decimal_from_arrow_decimal(x, scale) 6. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 7. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 8. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:467:3'): arrow_as_data_frame() passes extension columns through and rebuilds plain ones ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test-arrow.R:467:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─decimal::arrow_as_data_frame(arrow::arrow_table(amount = x)) 5. │ ├─base::as.data.frame(x) 6. │ └─arrow:::as.data.frame.ArrowTabular(x) 7. │ └─x$to_data_frame() 8. │ └─arrow:::Table__to_dataframe(self, use_threads = option_use_threads()) 9. └─decimal (local) `<fn>`(`<ChnkdArr>`) 10. ├─decimal::as_decimal(decimal_arrow_storage(extension_array)) 11. └─decimal:::as_decimal.ChunkedArray(decimal_arrow_storage(extension_array)) 12. └─decimal:::decimal_from_arrow(x, scale) 13. └─decimal:::decimal_from_arrow_decimal(x, scale) 14. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 15. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 16. └─arrow:::compute__CallFunction(function_name, args, options) ── Error ('test-arrow.R:490:3'): arrow_as_data_frame() works on a RecordBatch and rejects other input ── Error: Key error: No function registered with name: utf8_lower Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test-arrow.R:490:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─decimal::arrow_as_data_frame(batch) 5. │ ├─base::as.data.frame(x) 6. │ └─arrow:::as.data.frame.ArrowTabular(x) 7. │ └─x$to_data_frame() 8. │ └─arrow:::RecordBatch__to_dataframe(self, use_threads = option_use_threads()) 9. └─decimal (local) `<fn>`(`<ChnkdArr>`) 10. ├─decimal::as_decimal(decimal_arrow_storage(extension_array)) 11. └─decimal:::as_decimal.ChunkedArray(decimal_arrow_storage(extension_array)) 12. └─decimal:::decimal_from_arrow(x, scale) 13. └─decimal:::decimal_from_arrow_decimal(x, scale) 14. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 15. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 16. └─arrow:::compute__CallFunction(function_name, args, options) [ FAIL 15 | WARN 0 | SKIP 4 | PASS 394 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘arrow-decimal-types.Rmd’ using rmarkdown Quitting from arrow-decimal-types.Rmd:79-81 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! Key error: No function registered with name: utf8_lower --- Backtrace: ▆ 1. ├─decimal::as_decimal(a) 2. └─decimal:::as_decimal.Array(a) 3. └─decimal:::decimal_from_arrow(x, scale) 4. └─decimal:::decimal_from_arrow_decimal(x, scale) 5. ├─base::as.vector(arrow::call_function("utf8_lower", x$cast(arrow::string()))) 6. └─arrow::call_function("utf8_lower", x$cast(arrow::string())) 7. └─arrow:::compute__CallFunction(function_name, args, options) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'arrow-decimal-types.Rmd' failed with diagnostics: Key error: No function registered with name: utf8_lower --- failed re-building ‘arrow-decimal-types.Rmd’ --- re-building ‘contexts-and-signals.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘contexts-and-signals.Rmd’ --- re-building ‘decimal-values.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘decimal-values.Rmd’ SUMMARY: processing the following file failed: ‘arrow-decimal-types.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc