RcppMeCab
RcppMeCab copied to clipboard
Failure ('test_pos_ko.R:4:3'): Test pos tagger works on ko
R version 4.2.3 (2023-03-15) -- "Shortstop Beagle"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.8.0 (32-bit)
> library(testthat)
> library(RcppMeCab)
>
> test_check("RcppMeCab")
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 0 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• Skip testing on Japanese (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_pos_ko.R:4:3'): Test pos tagger works on ko ──────────────────
...[] not equal to enc2utf8("저").
1/1 mismatches
x[1]: "\xb0\xac"
y[1]: "저"
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 0 ]
Error: Test failures
Execution halted
Version info:
mecab 0.996_0+ipadic
RcppMeCab 0.0.1.3-2
test_pos_ja.R and test_pos_ko.R checks user environment and follows "MECAB_LANG" variables. Can you put Sys.setenv("MECAB_LANG") = "ja" and run the test again? I'm so sorry for delayed answer, that my main job and career is far to computer/data science.