Last updated on 2024-05-30 12:49:48 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
kanjistat | 1 | 2 | 9 |
logconcens | 12 | ||
transport | 10 | 3 | |
ttbary | 12 |
Current CRAN status: ERROR: 1, NOTE: 2, OK: 9
Version: 0.14.0
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘kanjistat.data’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-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
Current CRAN status: OK: 12
Current CRAN status: NOTE: 10, OK: 3
Version: 0.15-2
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘WSGeometry’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.15-2
Check: installed package size
Result: NOTE
installed size is 8.7Mb
sub-directories of 1Mb or more:
libs 8.1Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: OK: 12