CRAN Package Check Results for Package calcal

Last updated on 2026-02-24 18:49:18 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 12.03 368.59 380.62 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.2 8.79 264.75 273.54 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.2 22.00 686.46 708.46 OK
r-devel-linux-x86_64-fedora-gcc 1.0.2 21.00 639.85 660.85 OK
r-devel-macos-arm64 1.0.2 3.00 72.00 75.00 OK
r-devel-windows-x86_64 1.0.2 13.00 339.00 352.00 OK
r-patched-linux-x86_64 1.0.2 OK
r-release-linux-x86_64 1.0.2 12.97 411.12 424.09 OK
r-release-macos-arm64 1.0.2 3.00 76.00 79.00 OK
r-release-macos-x86_64 1.0.2 9.00 874.00 883.00 OK
r-release-windows-x86_64 1.0.2 13.00 340.00 353.00 OK
r-oldrel-macos-arm64 1.0.2 3.00 82.00 85.00 OK
r-oldrel-macos-x86_64 1.0.2 9.00 871.00 880.00 OK
r-oldrel-windows-x86_64 1.0.2 17.00 487.00 504.00 ERROR

Check Details

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [291s/362s] 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(calcal) > > test_check("calcal") [1] "afrench" [1] "apersian" [1] "armenian" [1] "babylonian" [1] "bahai" [1] "balinese" [1] "chinese" [1] "coptic" [1] "egyptian" [1] "ethiopic" [1] "french" [1] "gregorian" [1] "hebrew" [1] "hindu_lunar" [1] "hindu_solar" [1] "icelandic" [1] "islamic" [1] "iso" [1] "japanese" [1] "julian" [1] "korean" [1] "mayan" [1] "ohebrew" [1] "oislamic" [1] "old_hindu_lunar" [1] "old_hindu_solar" [1] "persian" [1] "roman" [1] "samaritan" [1] "saudi" [1] "tibetan" [1] "vietnamese" [1] "afrench" [1] "apersian" [1] "armenian" [1] "babylonian" [1] "bahai" [1] "balinese" [1] "chinese" [1] "coptic" [1] "egyptian" [1] "ethiopic" [1] "french" [1] "gregorian" [1] "hebrew" [1] "hindu_lunar" [1] "hindu_solar" [1] "icelandic" [1] "islamic" [1] "iso" [1] "japanese" [1] "julian" [1] "korean" [1] "mayan" [1] "ohebrew" [1] "oislamic" [1] "old_hindu_lunar" [1] "old_hindu_solar" [1] "persian" [1] "roman" [1] "samaritan" [1] "saudi" [1] "tibetan" [1] "vietnamese" [1] "afrench" [1] "apersian" [1] "armenian" [1] "babylonian" [1] "bahai" Saving _problems/test-common-45.R [1] "chinese" [1] "hebrew" [1] "hindu_lunar" [1] "japanese" [1] "korean" [1] "vietnamese" [1] "afrench" [1] "apersian" [1] "armenian" [1] "bahai" [1] "balinese" [1] "coptic" [1] "egyptian" [1] "ethiopic" [1] "french" [1] "gregorian" [1] "hindu_solar" [1] "icelandic" [1] "islamic" [1] "iso" [1] "julian" [1] "mayan" [1] "old_hindu_lunar" [1] "old_hindu_solar" [1] "persian" [1] "roman" [1] "tibetan" [ FAIL 1 | WARN 0 | SKIP 0 | PASS 319 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-common.R:40:7'): today ───────────────────────────────────────── Error in `out[case1] <- out[case1] + 342`: NAs are not allowed in subscripted assignments Backtrace: ▆ 1. └─base::lapply(...) at test-common.R:35:3 2. └─calcal (local) FUN(X[[i]], ...) 3. ├─testthat::expect_equal(...) at test-common.R:40:7 4. │ └─testthat::quasi_label(enquo(expected), expected.label) 5. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 6. ├─x$to_rd(x$from_rd((today + c(0:3, NA)))) 7. └─x$from_rd((today + c(0:3, NA))) 8. ├─vctrs::vec_data(bahai_date(major, cycle, year, month, 1)) 9. │ └─vctrs::obj_check_vector(x) 10. └─calcal::bahai_date(major, cycle, year, month, 1) 11. └─calcal::new_date(...) 12. ├─calcal::as_date(list(...), calendar) 13. └─calcal:::as_date.list(list(...), calendar) 14. └─calendar$to_rd(lst) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 319 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [214s/248s] 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(calcal) > > test_check("calcal") [1] "afrench" [1] "apersian" [1] "armenian" [1] "babylonian" [1] "bahai" [1] "balinese" [1] "chinese" [1] "coptic" [1] "egyptian" [1] "ethiopic" [1] "french" [1] "gregorian" [1] "hebrew" [1] "hindu_lunar" [1] "hindu_solar" [1] "icelandic" [1] "islamic" [1] "iso" [1] "japanese" [1] "julian" [1] "korean" [1] "mayan" [1] "ohebrew" [1] "oislamic" [1] "old_hindu_lunar" [1] "old_hindu_solar" [1] "persian" [1] "roman" [1] "samaritan" [1] "saudi" [1] "tibetan" [1] "vietnamese" [1] "afrench" [1] "apersian" [1] "armenian" [1] "babylonian" [1] "bahai" [1] "balinese" [1] "chinese" [1] "coptic" [1] "egyptian" [1] "ethiopic" [1] "french" [1] "gregorian" [1] "hebrew" [1] "hindu_lunar" [1] "hindu_solar" [1] "icelandic" [1] "islamic" [1] "iso" [1] "japanese" [1] "julian" [1] "korean" [1] "mayan" [1] "ohebrew" [1] "oislamic" [1] "old_hindu_lunar" [1] "old_hindu_solar" [1] "persian" [1] "roman" [1] "samaritan" [1] "saudi" [1] "tibetan" [1] "vietnamese" [1] "afrench" [1] "apersian" [1] "armenian" [1] "babylonian" [1] "bahai" Saving _problems/test-common-45.R [1] "chinese" [1] "hebrew" [1] "hindu_lunar" [1] "japanese" [1] "korean" [1] "vietnamese" [1] "afrench" [1] "apersian" [1] "armenian" [1] "bahai" [1] "balinese" [1] "coptic" [1] "egyptian" [1] "ethiopic" [1] "french" [1] "gregorian" [1] "hindu_solar" [1] "icelandic" [1] "islamic" [1] "iso" [1] "julian" [1] "mayan" [1] "old_hindu_lunar" [1] "old_hindu_solar" [1] "persian" [1] "roman" [1] "tibetan" [ FAIL 1 | WARN 0 | SKIP 0 | PASS 319 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-common.R:40:7'): today ───────────────────────────────────────── Error in `out[case1] <- out[case1] + 342`: NAs are not allowed in subscripted assignments Backtrace: ▆ 1. └─base::lapply(...) at test-common.R:35:3 2. └─calcal (local) FUN(X[[i]], ...) 3. ├─testthat::expect_equal(...) at test-common.R:40:7 4. │ └─testthat::quasi_label(enquo(expected), expected.label) 5. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 6. ├─x$to_rd(x$from_rd((today + c(0:3, NA)))) 7. └─x$from_rd((today + c(0:3, NA))) 8. ├─vctrs::vec_data(bahai_date(major, cycle, year, month, 1)) 9. │ └─vctrs::obj_check_vector(x) 10. └─calcal::bahai_date(major, cycle, year, month, 1) 11. └─calcal::new_date(...) 12. ├─calcal::as_date(list(...), calendar) 13. └─calcal:::as_date.list(list(...), calendar) 14. └─calendar$to_rd(lst) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 319 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.2
Check: tests
Result: ERROR Running 'testthat.R' [324s] 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(calcal) > > test_check("calcal") [1] "afrench" [1] "apersian" [1] "armenian" [1] "babylonian" [1] "bahai" [1] "balinese" [1] "chinese" [1] "coptic" [1] "egyptian" [1] "ethiopic" [1] "french" [1] "gregorian" [1] "hebrew" [1] "hindu_lunar" [1] "hindu_solar" [1] "icelandic" [1] "islamic" [1] "iso" [1] "japanese" [1] "julian" [1] "korean" [1] "mayan" [1] "ohebrew" [1] "oislamic" [1] "old_hindu_lunar" [1] "old_hindu_solar" [1] "persian" [1] "roman" [1] "samaritan" [1] "saudi" [1] "tibetan" [1] "vietnamese" [1] "afrench" [1] "apersian" [1] "armenian" [1] "babylonian" [1] "bahai" [1] "balinese" [1] "chinese" [1] "coptic" [1] "egyptian" [1] "ethiopic" [1] "french" [1] "gregorian" [1] "hebrew" [1] "hindu_lunar" [1] "hindu_solar" [1] "icelandic" [1] "islamic" [1] "iso" [1] "japanese" [1] "julian" [1] "korean" [1] "mayan" [1] "ohebrew" [1] "oislamic" [1] "old_hindu_lunar" [1] "old_hindu_solar" [1] "persian" [1] "roman" [1] "samaritan" [1] "saudi" [1] "tibetan" [1] "vietnamese" [1] "afrench" [1] "apersian" [1] "armenian" [1] "babylonian" [1] "bahai" Saving _problems/test-common-45.R [1] "chinese" [1] "hebrew" [1] "hindu_lunar" [1] "japanese" [1] "korean" [1] "vietnamese" [1] "afrench" [1] "apersian" [1] "armenian" [1] "bahai" [1] "balinese" [1] "coptic" [1] "egyptian" [1] "ethiopic" [1] "french" [1] "gregorian" [1] "hindu_solar" [1] "icelandic" [1] "islamic" [1] "iso" [1] "julian" [1] "mayan" [1] "old_hindu_lunar" [1] "old_hindu_solar" [1] "persian" [1] "roman" [1] "tibetan" [ FAIL 1 | WARN 0 | SKIP 0 | PASS 319 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-common.R:40:7'): today ───────────────────────────────────────── Error in `out[case1] <- out[case1] + 342`: NAs are not allowed in subscripted assignments Backtrace: ▆ 1. └─base::lapply(...) at test-common.R:35:3 2. └─calcal (local) FUN(X[[i]], ...) 3. ├─testthat::expect_equal(...) at test-common.R:40:7 4. │ └─testthat::quasi_label(enquo(expected), expected.label) 5. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 6. ├─x$to_rd(x$from_rd((today + c(0:3, NA)))) 7. └─x$from_rd((today + c(0:3, NA))) 8. ├─vctrs::vec_data(bahai_date(major, cycle, year, month, 1)) 9. │ └─vctrs::obj_check_vector(x) 10. └─calcal::bahai_date(major, cycle, year, month, 1) 11. └─calcal::new_date(...) 12. ├─calcal::as_date(list(...), calendar) 13. └─calcal:::as_date.list(list(...), calendar) 14. └─calendar$to_rd(lst) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 319 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64