Test suite of r-cran-snakecase has transliteration errors in test suite
Hi,
when running the test suite of r-cran-snakecase (for instance by installing
the package including its Test-Depends r-cran-purrrlyr and running
sh /usr/share/doc/r-cran-snakecase/run-unit-test ) I get:
...
> test_check("snakecase")
── 1. Failure: transliterations (@test-to_any_case.R#397) ─────────────────────
to_any_case("Älterer Herr", transliterations = c("german", Herr = "Mann")) not equal to "aelterer_mann".
1/1 mismatches
x[1]: "älterer_mann"
y[1]: "aelterer_mann"
── 2. Failure: transliterations (@test-to_any_case.R#399) ─────────────────────
to_any_case(...) not equal to "aelterer_mann".
1/1 mismatches
x[1]: "älterer_mann"
y[1]: "aelterer_mann"
── 3. Failure: complex strings (@test-to_any_case.R#515) ──────────────────────
to_any_case("acÄo", transliterations = c("german", "Latin-ASCII")) not equal to "ac_aeo".
1/1 mismatches
x[1]: "ac_ao"
y[1]: "ac_aeo"
── 4. Failure: complex strings (@test-to_any_case.R#522) ──────────────────────
to_any_case("Ø", transliterations = c("danish", "Latin-ASCII")) not equal to "oe".
1/1 mismatches
x[1]: "o"
y[1]: "oe"
── 5. Failure: complex strings (@test-to_any_case.R#524) ──────────────────────
to_any_case("ø", transliterations = c("danish", "Latin-ASCII")) not equal to "oe".
1/1 mismatches
x[1]: "o"
y[1]: "oe"
── 6. Failure: complex strings (@test-to_any_case.R#526) ──────────────────────
to_any_case("Å", transliterations = c("danish", "Latin-ASCII")) not equal to "aa".
1/1 mismatches
x[1]: "a"
y[1]: "aa"
── 7. Failure: complex strings (@test-to_any_case.R#528) ──────────────────────
to_any_case("å", transliterations = c("danish", "Latin-ASCII")) not equal to "aa".
1/1 mismatches
x[1]: "a"
y[1]: "aa"
── 8. Failure: complex strings (@test-to_any_case.R#531) ──────────────────────
to_any_case("Æ", transliterations = c("finnish", "Latin-ASCII")) not equal to "a".
1/1 mismatches
x[1]: "ae"
y[1]: "a"
── 9. Failure: complex strings (@test-to_any_case.R#533) ──────────────────────
to_any_case("æ", transliterations = c("finnish", "Latin-ASCII")) not equal to "a".
1/1 mismatches
x[1]: "ae"
y[1]: "a"
── 10. Failure: complex strings (@test-to_any_case.R#540) ─────────────────────
to_any_case("Æ", transliterations = c("swedish")) not equal to "a".
1/1 mismatches
x[1]: "æ"
y[1]: "a"
── 11. Failure: complex strings (@test-to_any_case.R#542) ─────────────────────
to_any_case("æ", transliterations = c("swedish")) not equal to "a".
1/1 mismatches
x[1]: "æ"
y[1]: "a"
── 12. Failure: complex strings (@test-to_any_case.R#544) ─────────────────────
to_any_case("Ø", transliterations = c("swedish")) not equal to "o".
1/1 mismatches
x[1]: "ø"
y[1]: "o"
── 13. Failure: complex strings (@test-to_any_case.R#546) ─────────────────────
to_any_case("ø", transliterations = c("swedish")) not equal to "o".
1/1 mismatches
x[1]: "ø"
y[1]: "o"
── 14. Failure: complex strings (@test-to_any_case.R#548) ─────────────────────
to_any_case("Å", transliterations = c("swedish")) not equal to "a".
1/1 mismatches
x[1]: "å"
y[1]: "a"
── 15. Failure: complex strings (@test-to_any_case.R#550) ─────────────────────
to_any_case("å", transliterations = c("swedish")) not equal to "a".
1/1 mismatches
x[1]: "å"
y[1]: "a"
══ testthat results ═══════════════════════════════════════════════════════════
OK: 198 SKIPPED: 0 FAILED: 15
1. Failure: transliterations (@test-to_any_case.R#397)
2. Failure: transliterations (@test-to_any_case.R#399)
3. Failure: complex strings (@test-to_any_case.R#515)
4. Failure: complex strings (@test-to_any_case.R#522)
5. Failure: complex strings (@test-to_any_case.R#524)
6. Failure: complex strings (@test-to_any_case.R#526)
7. Failure: complex strings (@test-to_any_case.R#528)
8. Failure: complex strings (@test-to_any_case.R#531)
9. Failure: complex strings (@test-to_any_case.R#533)
1. ...
Error: testthat unit tests failed
Any idea what might went wrong here?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: