CRAN Package Check Results for Package kanjistat

Last updated on 2024-05-31 20:54:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.1 8.59 81.18 89.77 OK
r-devel-linux-x86_64-debian-gcc 0.14.0 31.73 103.27 135.00 NOTE
r-devel-linux-x86_64-fedora-clang 0.14.0 253.56 NOTE
r-devel-linux-x86_64-fedora-gcc 0.14.0 265.16 ERROR
r-devel-windows-x86_64 0.14.0 39.00 141.00 180.00 NOTE
r-patched-linux-x86_64 0.9.1 14.23 78.11 92.34 OK
r-release-linux-x86_64 0.9.1 6.28 78.74 85.02 OK
r-release-macos-arm64 0.9.1 47.00 OK
r-release-windows-x86_64 0.14.0 33.00 153.00 186.00 NOTE
r-oldrel-macos-arm64 0.9.1 50.00 OK
r-oldrel-macos-x86_64 0.9.1 84.00 OK
r-oldrel-windows-x86_64 0.14.0 40.00 171.00 211.00 NOTE

Additional issues

M1mac

Check Details

Version: 0.14.0
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘kanjistat.data’ Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.14.0
Check: data for non-ASCII characters
Result: NOTE Note: found 112688 marked UTF-8 strings Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.14.0
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/34s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(kanjistat) > > test_check("kanjistat") [ FAIL 10 | WARN 0 | SKIP 14 | PASS 144 ] ══ Skipped tests (14) ══════════════════════════════════════════════════════════ • On CRAN (14): 'test-kanji1.R:224:3', 'test-kanji1.R:248:3', 'test-kanji2.R:24:3', 'test-kanjimat.R:2:3', 'test-kanjimat.R:13:3', 'test-kanjimat.R:36:3', 'test-kanjimat.R:53:3', 'test-kanjivec.R:2:3', 'test-kanjivec.R:15:3', 'test-kanjivec.R:36:3', 'test-kanjivec.R:81:3', 'test-kanjivec.R:96:3', 'test-kanjivec.R:114:3', 'test-kanjivec.R:120:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-kanji1.R:39:5'): convert_kanji, single entry, simplify ─────── convert_kanji("藤") (`actual`) not equal to list(...) (`expected`). `actual$kanjivec` is a logical vector (NA) `expected$kanjivec` is an S3 object of class <kanjivec>, a list ── Error ('test-kanji1.R:43:5'): convert_kanji, single entry, simplify ───────── Error in `check_for_data()`: Package kanjistat.data is not available. This can be installed from GitHub by saying remotes::install_github("dschuhmacher/kanjistat.data") (warning: 100MB download, installation may take up to a minute) Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-kanji1.R:43:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─kanjistat::convert_kanji(1032, "kanjivec") 5. └─base::lapply(key, convert_1kanji, output) 6. └─kanjistat (local) FUN(X[[i]], ...) 7. └─kanjistat:::check_for_data() ── Failure ('test-kanji1.R:93:5'): convert_kanji, multiple entries, simplify ─── convert_kanji(c("藤", "藤")) (`actual`) not equal to list(sublist, sublist) (`expected`). `actual[[1]]$kanjivec` is a logical vector (NA) `expected[[1]]$kanjivec` is an S3 object of class <kanjivec>, a list `actual[[2]]$kanjivec` is a logical vector (NA) `expected[[2]]$kanjivec` is an S3 object of class <kanjivec>, a list ── Error ('test-kanji1.R:96:5'): convert_kanji, multiple entries, simplify ───── Error in `check_for_data()`: Package kanjistat.data is not available. This can be installed from GitHub by saying remotes::install_github("dschuhmacher/kanjistat.data") (warning: 100MB download, installation may take up to a minute) Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-kanji1.R:96:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─kanjistat::convert_kanji(c(1032, 1032), "kanjivec") 5. └─base::lapply(key, convert_1kanji, output) 6. └─kanjistat (local) FUN(X[[i]], ...) 7. └─kanjistat:::check_for_data() ── Failure ('test-kanji1.R:149:5'): convert_kanji, single entry, don't simplify ── convert_kanji(list("藤"), simplify = FALSE)[[1]] (`actual`) not equal to list(...) (`expected`). `actual$kanjivec` is a logical vector (NA) `expected$kanjivec` is an S3 object of class <kanjivec>, a list ── Error ('test-kanji1.R:154:5'): convert_kanji, single entry, don't simplify ── Error in `check_for_data()`: Package kanjistat.data is not available. This can be installed from GitHub by saying remotes::install_github("dschuhmacher/kanjistat.data") (warning: 100MB download, installation may take up to a minute) Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-kanji1.R:154:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─kanjistat::convert_kanji(1032, "kanjivec", simplify = FALSE) 5. └─base::lapply(key, convert_1kanji, output) 6. └─kanjistat (local) FUN(X[[i]], ...) 7. └─kanjistat:::check_for_data() ── Failure ('test-kanji1.R:204:5'): convert_kanji, multiple entries, don't simplify ── convert_kanji(list("藤", "藤"), simplify = FALSE) (`actual`) not equal to list(sublist, sublist) (`expected`). `actual[[1]]$kanjivec` is a logical vector (NA) `expected[[1]]$kanjivec` is an S3 object of class <kanjivec>, a list `actual[[2]]$kanjivec` is a logical vector (NA) `expected[[2]]$kanjivec` is an S3 object of class <kanjivec>, a list ── Error ('test-kanji1.R:207:5'): convert_kanji, multiple entries, don't simplify ── Error in `check_for_data()`: Package kanjistat.data is not available. This can be installed from GitHub by saying remotes::install_github("dschuhmacher/kanjistat.data") (warning: 100MB download, installation may take up to a minute) Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-kanji1.R:207:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─kanjistat::convert_kanji(list(1032, 1032), "kanjivec", simplify = FALSE) 5. └─base::lapply(key, convert_1kanji, output) 6. └─kanjistat (local) FUN(X[[i]], ...) 7. └─kanjistat:::check_for_data() ── Error ('test-stroke_edit_distance.R:7:5'): sedist, same as Yencken, type does not matter ── Error in `check_for_data()`: Package kanjistat.data is not available. This can be installed from GitHub by saying remotes::install_github("dschuhmacher/kanjistat.data") (warning: 100MB download, installation may take up to a minute) Backtrace: ▆ 1. └─kanjistat::sedist(ind1, ind2) at test-stroke_edit_distance.R:7:5 2. └─kanjistat:::check_for_data() ── Error ('test-stroke_edit_distance.R:34:5'): sedist, different from Yencken, type does matter ── Error in `check_for_data()`: Package kanjistat.data is not available. This can be installed from GitHub by saying remotes::install_github("dschuhmacher/kanjistat.data") (warning: 100MB download, installation may take up to a minute) Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-stroke_edit_distance.R:34:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::as.vector(sedist(ind1, ind2, type = "full")) 5. └─kanjistat::sedist(ind1, ind2, type = "full") 6. └─kanjistat:::check_for_data() [ FAIL 10 | WARN 0 | SKIP 14 | PASS 144 ] Deleting unused snapshots: • kanji1/koucha.png • kanji1/koucha.svg • kanjimat/fuji.png • kanjivec/fuji_dend.jpg • kanjivec/fuji_kanji.jpg Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc